Closed LinArcX closed 4 years ago
Maven is not required. That is just an example using it. As long as you enable the remote debugger of a Java process you should be able to connect to it. For your example of a single java file named "main", it should work like this to start the java process with the debug server enabled on port 5005.
javac main.java
java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=5005,suspend=y main
A quick search on Google for "java remote debugging" should reveal a lot of other examples.
Yeah, it works. Thank you.
I added this plain Java example to the readme.
Hi. first of all, let me thank you for this plugin. I tired to debug a super simple java application that contains only one file: main.java:
So, i don't use maven or other fancy stuff. Seems in README we need maven to start a java process. Is it necessary?