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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Run jboss with the debug arguments on the remote machine:
address– this will be the port you want to connect onserver– signifies it will be the serversuspend– will block execution of the application until a debugger connects (specifynif you want the application to begin before a debugger connects to it)If using Eclipse, Debug as a
Remote Java Application. You simply provide the project to debug, the IP of the remote machine and the port you specified.