Have you ever come across situation where in you have deployed your app on standalone seprate server not integrated in eclipse, and you need debugging feature in eclipse
1. Right click on project.
2. Choose menu Debug As then select sub menu Debug Configuration one window will open up.
3. Select Remote Java Application.
4. In Connect tab browse your project.
5. select connection type as Standard (Socket Attached).
6. Provide host as localhost and port as remote debug port of application server.
Make sure you have enabled JPDA settings for remote socket debugging in your application server configuration file as shown below,
set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
1. Right click on project.
2. Choose menu Debug As then select sub menu Debug Configuration one window will open up.
3. Select Remote Java Application.
4. In Connect tab browse your project.
5. select connection type as Standard (Socket Attached).
6. Provide host as localhost and port as remote debug port of application server.
Make sure you have enabled JPDA settings for remote socket debugging in your application server configuration file as shown below,
set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
No comments:
Post a Comment