Context
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.
Procedure
- Open the
Java EE perspective: choose
.
- Choose
.
- In the context menu of
SAP Application , choose
New .
A new debug configuration is created. You can now configure it.
- Configure the necessary debug settings as described in the following table:
|
Tab
|
Description
|
|
Module
|
Specify 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 is rebuilt only if there are changes in the project).
Caution
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.
Note
You must 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 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.
|
- Enter a descriptive configuration name and choose the
Apply button.
- Choose
Debug to start a debugging session.
Results
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.