Skip to content

Window Tools

idea_tools_window.png

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 application
    • L: 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.
  • Operation buttons:
    • Close: Disconnect from DebugToolsServer.
    • Stop: Attach the application and stop running DebugToolsServer.

remote_attach_status

DebugTools sets the global header parameter information here.

global_header_tools_window

  • 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 Plus to get a list of local applications that can be attached.

tools_window

Select the application to be debugged and click the Attach button to attach the application.

application_list.png

Attach Remote Application

Click the toolbar on the right side of Idea to wake up the DebugTools window, click Connect to fill in the remote address.

connect_tools_window

Enter host, tcpPort and httpPort, and click the Save & Connent button to connect to the remote application.

connect_input.png

Clear Cache

Click the toolbar on the right side of Idea to wake up the DebugTools window, and click Clear to clear the DebugTools cache.

clear_cache.png

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 G on the left to open the Groovy console.

groovy_tools_window