Debug configurations store sets of debugging settings. You can reuse these configurations. SAP NetWeaver Developer Studio automatically recognizes the application type according to the associated Java EE project type, and displays only relevant debugging settings.
...
1. Open the Java EE perspective (using Window → Open Perspective → Other → Java EE).
2. Choose Run → Open Debug Dialog → SAP Application and then in the context menu choose New.
A new debug configuration is created. You can now configure it.
3. Configure the necessary debug settings as described in the following table:
Java EE Debug Configuration Settings
Page |
Description |
Module |
Specify here the Java EE project and its component you want to debug. ● The Build and Deploy option rebuilds the application automatically each time you launch this debug configuration (if this is a Development Component project, the application will be rebuilt only if there are changes in the project).
If you are using the Load Isolation debugging option, do not use Build and Deploy (SAP systems do not accept deployment requests while running in debug mode with the Load Isolation option enabled). · The Use Custom Launch URL option allows you to specify the application URL with custom parameters.
You will need to include the debugging session ID in the launch URL. You can retrieve that ID by using the Copy Debug Session Key option in the SAP Management Console perspective. |
Runtime |
Specify here the SAP system to be connected, and the server process to be used for debugging. Optionally, you can also specify using a debug proxy. |
Source |
Contains the source paths for the application (defined automatically). |
Common |
Additional display settings. |
4. Enter a descriptive configuration name and choose the Apply button.
5. Choose Debug to start a debugging session.
The debugging session is initiated, and you can continue by monitoring the application execution in the Web browser window, and controlling the corresponding source code in the Debug perspective.