DebugTools IDEA Plugin

website·Indexed 31 days ago

https://debug-tools.cc

An IntelliJ IDEA plugin for Java developers providing advanced debugging capabilities, including method invocation, JVM attachment, and hot reloading for SpringBoot, Solon, and MyBatis/MyBatisPlus. It features MCP tools for AI agents, Groovy script execution, SQL statement printing, and a reactive mode for debugging AI streaming APIs.

Tokens
63.6K
Snippets
175
Records
459
Agent score
56%

What's inside DebugTools

  1. Overview of Method Around scripts

    Method Around scripts allow developers to insert custom Java logic before and after the execution of a target method. This is useful for supplementing debug contexts (e.g., writing to ThreadLocal), adjusting input parameters, preparing login states, or observing return values and exceptions. The scripts are sent to the target JVM and dynamically compiled and executed under the target ClassLoader.
  2. Overview of Solon Hot Reload beta capabilities

    Solon Hot Reload beta allows for the dynamic addition and modification of beans within the Solon container. It also supports calling Solon beans via quick Java method invocation.
  3. Overview of Invocation History

    Invocation history saves method invocation requests and execution results locally. When enabled, it captures the target method, application, ClassLoader, parameter JSON, headers, pre/post script names, running state, duration, and a result snapshot. This is used to verify methods repeatedly, reuse parameters, debug failed invocations, or navigate back to source code.
  4. Overview of DebugTools for IntelliJ IDEA

    DebugTools is a Java development and debugging plugin integrated into IntelliJ IDEA. It is designed to improve development efficiency and shorten debugging cycles by providing advanced runtime manipulation and monitoring capabilities.
  5. Overview of Kubernetes microservice debugging with DebugTools

    DebugTools allows developers to debug microservices running in remote Kubernetes clusters as if they were local processes. It integrates into the IntelliJ IDEA toolbar and automates Agent injection and secure port tunneling, eliminating the need for manual NodePort, Ingress, or jump-server configurations. Key capabilities include method calls, hot deployment, SQL interception, and Groovy script execution on remote pods.
  6. Overview of DebugTools Method Invocation MCP Tools

    The DebugToolsMethodInvocationToolset in the DebugTools IDEA plugin provides five MCP tools for interacting with Java Virtual Machines (JVMs) and executing methods. All tools support an optional projectPath (string) parameter to specify the target IDEA project directory or file path, which is necessary when multiple projects are open or the context is ambiguous.
  7. Overview of DebugTools for IntelliJ IDEA

    DebugTools is a Java development and debugging plugin integrated into IntelliJ IDEA. It is designed to increase development efficiency and reduce debugging cycles by providing tools for real-time code updates and direct method execution without requiring full application restarts or manual deployment cycles.
  8. Overview of DebugTools Method Invocation MCP Tools

    The DebugToolsMethodInvocationToolset provides five MCP tools to interact with Java Virtual Machines (JVMs) via the DebugTools IDEA plugin. These tools allow developers to manage connections, discover attachable JVMs, and execute Java methods remotely.
  9. Overview of the Method Invocation Skill

    The Method Invocation Skill (debug-tools-method-invocation) enables an AI agent to connect to a running Java application and invoke instance or static methods. It automates JVM discovery, DebugTools connections, argument handling, and ClassLoader selection, removing the need for the user to manually chain MCP tools.
  10. Overview of the Hotswap Skill

    The Hotswap Skill (debug-tools-hotswap) enables an AI Agent to interact with IntelliJ IDEA run configurations and the Java Debugger. It is used to start specific run configurations or compile and reload modified Java classes into a JVM that is currently being debugged, avoiding the need for manual Gradle/Maven commands or manual process restarts.
  11. Overview of Hot Deployment for Development and Testing

    Hot deployment allows developers to see code changes in real-time without following the traditional deployment cycle (commit -> pull -> build -> deploy -> restart). By skipping manual builds and service restarts, the application loads new logic immediately, significantly shortening the feedback loop and increasing development efficiency, particularly in agile environments with high-frequency iterations.
  12. Overview of the Hotswap Skill

    The Hotswap Skill (debug-tools-hotswap) enables an AI agent to operate IntelliJ IDEA run configurations and compile/reload modified Java classes into a JVM currently being debugged. It can list run configurations, find targets by name/module/main class, start configurations using the DebugTools Hotswap executor, and trigger the native 'Compile and Reload Modified Files' action.