java: add debug info (#4266)
This commit is contained in:

committed by
GitHub

parent
0e2cd0cd36
commit
4ac62cbe9c
@@ -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`
|
||||
|
Reference in New Issue
Block a user