Skip to main content
Glama
workbackai
by workbackai

step_over

Skip the current line of code and move to the next in the execution flow while debugging a NodeJS server, enabling precise code inspection and troubleshooting.

Instructions

Steps over to the next line of code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'step_over' tool. It checks if the debugger is enabled and paused, then sends the Chrome DevTools Protocol 'Debugger.stepOver' command to step over the current line.
    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 with the MCP server using server.tool(). The tool has no input parameters and uses the provided handler.
    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}` }] }; } } );
  • Input schema for the tool: empty object, indicating no required parameters.
    {},

Other Tools

Related Tools

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