Debug JBoss with IDEA
From Shrubbery
- How to start JBoss and debug it remotely with IDEA
- Create a 'remote debug' runtime configuration in IDEA. Copy the JVM debug parameters.
- Set JAVA_OPTS to start the JVM in debug mode. In shell it might look like this:
export JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 $JAVA_OPTS"
- Use run.sh to start JBoss.
- Click debug on the runtime configuration to connect to the JVM.
Categories: JBoss | IDEA

