mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 14:46:00 +02:00
java: add debug info (#4266)
This commit is contained in:
parent
0e2cd0cd36
commit
4ac62cbe9c
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
|||
|
||||
`java -jar {{filename.jar}}`
|
||||
|
||||
- Execute a .jar program with debug waiting to connect on port 5005:
|
||||
|
||||
`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}`
|
||||
|
||||
- Display JDK, JRE and HotSpot versions:
|
||||
|
||||
`java -version`
|
||||
|
|
Loading…
Add table
Reference in a new issue