How do I debug a war file on a remote machine?
问题 If I have a jboss server running on another machine and I scp my war file to that machine, how do I debug the war? what commands would I use? How do I do this in my terminal? 回答1: Run jboss with the debug arguments on the remote machine: -Xdebug -Xrunjdwp:transport=dt_socket,address=54371,server=y,suspend=y address - this will be the port you want to connect on server - signifies it will be the server suspend - will block execution of the application until a debugger connects (specify n if