Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_debug_session | Create a new debug session for a specific programming language. Returns a session ID to use with other tools. |
| start_debugging | Start debugging a script file. The program will run until it hits a breakpoint or completes. |
| terminate_session | Terminate a debug session and clean up resources |
| list_sessions | List all active debug sessions |
| set_breakpoint | Set a breakpoint at a specific line in a source file. Use dumpFile to create a tracepoint that dumps variables to a file and auto-continues. |
| get_traces | Get collected traces from tracepoints. Traces are stored in session state and can be queried with filtering and pagination. |
| clear_traces | Clear all collected traces from the session |
| remove_breakpoint | Remove a breakpoint from a source file |
| list_breakpoints | List all breakpoints in the session |
| continue | Continue execution until the next breakpoint or program end. Use waitForBreakpoint to block until a breakpoint is hit and return variables. Use collectHits to run through multiple breakpoint hits, collecting variables at each, then return all traces. |
| pause | Pause program execution |
| step_in | Step into the next function call |
| step_over | Step over to the next line (execute function calls without entering) |
| step_out | Step out of the current function |
| step_and_trace | Step through code N times, collecting variables at each step. Returns all traces or writes to a file. Useful for tracing execution flow. |
| get_stack_trace | Get the current call stack |
| get_variables | Get variables in the current scope |
| expand_variable | Expand a complex variable to see its properties/children |
| evaluate_expression | Evaluate an expression in the current context |
| get_source_context | Get source code around the current execution point |
| get_threads | Get all threads in the debugged program |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |