Skip to main content
Glama
workbackai
by workbackai

step_over

Step over the current line of code in NodeJS debugging to execute it and pause at the next line, without entering function calls.

Instructions

Steps over to the next line of code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that executes the step_over tool: ensures debugger is enabled and paused, then sends the CDP Debugger.stepOver command, returning success or error messages.
    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.stepOver', {}); return { content: [{ type: "text", text: "Stepped over to next line" }] }; } catch (err) { return { content: [{ type: "text", text: `Error stepping over: ${err.message}` }] }; } }
  • Registers the step_over tool using server.tool() with name, description, empty schema, and inline handler function.
    server.tool( "step_over", "Steps over to the next line of code", {}, 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.stepOver', {}); return { content: [{ type: "text", text: "Stepped over to next line" }] }; } catch (err) { return { content: [{ type: "text", text: `Error stepping over: ${err.message}` }] }; } } );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/workbackai/mcp-nodejs-debugger'

If you have feedback or need assistance with the MCP directory API, please join our Discord server