Debugging
Starting the server
Start WebLogic server with the parameters:
set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=10001
Debugging with IntelliJ
Go to Run/Edit Configurations and enter the following:
Select "Remote" tab
Transport: Socket
Debugger Mode: Attach
Host: localhost
Port: 10001
Debugging in Netbeans
Go to "Attach Debugger..." and enter the following:
Debugger: Java Debugger (JPDA)
Connector: SocketAttach
Transport: dt_socket
Host: localhost
Port: 10001
Go to Window/Debugging/Source
Enter the path(s) to the java directory in your project (e.g. someproject\war\src\main\java )
Comments (0)
You don't have permission to comment on this page.