Remote Debugging of JBoss in Eclipse

Change the start configuration for JBoss to include the following options:

    -Xdebug -Xnoagent 
    -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

Then, restart the server.

Once you do that, JBoss is waiting for remote debugging on port 8787. Just go the debug menu and start a remote debugging session (Run > Debug > Remote Java Application) to that port. That's all there is to it.

I also found this page which implies you can do a hot deploy by setting up your directories properly:

EclipseRemoteDebugging (last edited 2008-07-09 06:21:32 by localhost)