...
Once a process is listening on port 8000, you can start debugging the "JPDA" configuration
Tomcat
Make sure you are using Java 8 in your environment, not a higher version (java -version
to verify). Start debugging with catalina jpda start
. There won't be any output except in the logs, but it will start listening, and then you can debug. Stop Tomcat with catalina jpda stop
.
GSH
Make sure you are using Java 8 in your environment, not a higher version (java -version
to verify). Get the extra Java arguments by editing the configuration and copying the -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
argument in the command line pane. Then start gsh with:
...