Skip to content
pr0totyp edited this page Jan 4, 2018 · 2 revisions

Remote debugging

  1. Forward Port via SSH ssh -nNT -L 9000:localhost:9000 bla@blub
  2. Setup Remote Debug Config in your IDE with port 9000
  3. Start the java jar with debug params java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9000 -cp your_app.jar
  4. Connect with the debugger to the remote java application

Clone this wiki locally