I am working on a web application based on Ant,Struts and Java. I wanted a way to debug the live application in my local environment and I found out that attaching remote debugger is the best option. It helps in debugging live application.
What is Remote Debugging?
The client/server design of the Java debugger allows you to launch a Java program from computer on your network and debug it from the workstation running the platform. This is particularly useful when you are developing a program for a device that cannot host the development platform [source: eclipse community]
How to enable it in Netbeans
- Open Netbeans IDE
- Go to Debug option
- Click on Attach Debugger
- Enter the host name and port number
- Click OK
Note: Make sure you start the application first before attaching the remote debugger
Comments
Post a comment