Window Tools
Debug Panel
Attach Status
After successfully attaching a local application or attaching a remote application, DebugTools will display the attachment status.
- Application:
R
: indicates that the application is a remote applicationL
: indicates that the application is a local application
- Connection Status:
UnAttached
: The application is not attached.Connected
: The application has been attached successfully and connected to the service successfully.connecting
: Connecting to the service.Reconnect
: Reconnecting.Fail
: Failed to connect to the service.
i.g.f.d.t.t.a.DebugToolsTestApplication
: Application name.- Specified
application name
is used when specifying the application name during attachment. - If the application name is not specified, if it is a Spring application, the
spring.application.name
configuration item is used. - If not specified, the
Main-Class
in the startup jar is used. - If not found, the
sun.java.command
in the startup command is used.
- Specified
- Operation buttons:
Close
: Disconnect from DebugToolsServer.Stop
: Attach the application and stop running DebugToolsServer.
Global Header
DebugTools sets the global header parameter information here.
- Add: Add a Header parameter.
- Auth: Quickly add a Header parameter with the key Authorization parameter.
- DelAll: Clear all Header parameters.
- Save: Save Header parameters.
- Remove: Delete the current Header parameters.
Attach Local Applications
Click the toolbar on the right side of Idea to wake up the DebugTools window, and click
to get a list of local applications that can be attached.
Select the application to be debugged and click the Attach
button to attach the application.
Attach Remote Application
Click the toolbar on the right side of Idea to wake up the DebugTools window, click
to fill in the remote address.
Enter host, tcpPort and httpPort, and click the Save & Connent
button to connect to the remote application.
Clear Cache
Click the toolbar on the right side of Idea to wake up the DebugTools window, and click
to clear the DebugTools cache.
Core jar cache
Clear the loaded core jar cache.
INFO
When a version should not be effective, you can clear the core jar and reload it.
Method param cache
Clear the stored method last call parameters cache.
Global header
Clear all global header information.
Clear all
Clear all cache information.
Open Groovy console
Click the toolbar on the right side of Idea to wake up the DebugTools window, and click
on the left to open the Groovy console.