Debug Project
debug_projectBuilds a project then runs it only if the build succeeds, returning both phases plus a likely root cause from the first error line to speed troubleshooting.
Instructions
Two-phase diagnostics: build the project, and if the build succeeds run the program. Returns both phases plus a heuristic likely-root-cause derived from the first error line.
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_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments passed to the run command. | |
| path | No | Project directory relative to the workspace root (default "."). | |
| timeoutMs | No | Timeout in milliseconds per phase. | |
| runCommand | No | Command used to run the program after a successful build. | |
| buildCommand | No | Explicit build command (defaults to auto-detection). |