Check debugger readiness
debug_doctorInspect a local project to detect its language and tooling, choose the likely debug adapter, verify the adapter command, and return concrete fixes before debugging or when startup fails.
Instructions
Inspect a local project, detect its language/tooling, select the likely debug adapter, verify the complete adapter command, and return concrete remediation. Use this before debugging or when an adapter fails to start.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debug_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory (default: server working directory) | |
| adapter | No | Adapter to validate instead of auto-detecting one | |
| verbose | No | Include full details for every known adapter, not just the selected one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| ready | Yes | ||
| adapters | Yes | ||
| detected | Yes | ||
| nextSteps | Yes | ||
| otherAdapters | No | ||
| recommendedAdapter | No |