continue
Resume NodeJS code execution after pausing at a breakpoint to continue debugging your application.
Instructions
Continues code execution
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp-server.js:741-774 (handler)Handler function for the 'continue' MCP tool. Checks if debugger is paused, then sends 'Debugger.resume' command to resume execution and returns status message.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}` }] }; } } );
- src/mcp-server.js:737-775 (registration)Registration of the 'continue' tool using server.tool() with name, description, empty schema, and inline handler function.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}` }] }; } } );