Using 5218: What do I have to do to connect the debugging
to a JBoss (4.0.4RC1) already running on the local machine?
I created a JSR45 Compatible Server -> Remote Configuration
I modified the startup options in the JBoss start script:
set JAVA_OPTS=%JAVA_OPTS% -ea -Xms128m -Xmx768m -XX:MaxPermSize=192m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=2570,suspend=n,server=y
When I try to debug from Idea, all I ever get is a message
"Error running JBoss: Unable to open debugger port: java.netConnectException "Connection refused: connect"
I have my firewall switched off.
I know about the JBoss plugin. But all I want to do is to
connect to a JBoss instance that is already running.
Idea should be able to do that out of the box, shouldn't it?