continue
Advance code execution from a paused state to the next breakpoint or program completion, enabling step-by-step debugging.
Instructions
Continues code execution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp-server.js:737-774 (registration)Registration of the 'continue' tool via server.tool() with a handler that resumes debugger execution
server.tool( "continue", "Continues code execution", {}, async () => { try { // Ensure debugger is enabled if (!inspector.debuggerEnabled) { await inspector.enableDebugger(); } if (!inspector.paused) { return { content: [{ type: "text", text: "Debugger is not paused at a breakpoint" }] }; } await inspector.send('Debugger.resume', {}); return { content: [{ type: "text", text: "Execution resumed" }] }; } catch (err) { return { content: [{ type: "text", text: `Error continuing execution: ${err.message}` }] }; } } );