Enterprise debugging for Node.js/TypeScript with 25+ tools: breakpoints, profiling, hang detection
Validation Details
Duration: 3.0s
Server: debugger-server v1.5.22
Quick Install
npx -y @ai-capabilities-suite/mcp-debugger-serverdebugger_startStart a new debug session with a Node.js process. The process will be paused at the start.
debugger_set_breakpointSet a breakpoint at a specific file and line number. Optionally provide a condition.
debugger_continueResume execution of a paused debug session until the next breakpoint or program termination.
debugger_step_overExecute the current line and pause at the next line in the same scope.
debugger_step_intoExecute the current line and pause at the first line inside any called function.
debugger_step_outExecute until the current function returns and pause at the calling location.
debugger_pausePause a running debug session and return the current execution location.
debugger_remove_breakpointRemove a breakpoint from the debug session.
debugger_toggle_breakpointToggle a breakpoint between enabled and disabled states.
debugger_list_breakpointsGet all breakpoints for a debug session with their file, line, condition, and enabled state.
debugger_get_local_variablesGet all local variables in the current scope with their names, values, and types.
debugger_get_global_variablesGet global variables accessible from the current scope with their names, values, and types.
debugger_inspect_objectInspect an object by its object reference, returning properties with values. Handles nested objects and arrays up to a specified depth.
debugger_add_watchAdd an expression to the watch list. The expression will be evaluated each time the process pauses.
debugger_remove_watchRemove an expression from the watch list.
debugger_get_watchesGet all watched expressions with their current values. Reports value changes since the last pause.
debugger_switch_stack_frameSwitch the execution context to a specific stack frame by index. Frame 0 is the top frame (current location).
debugger_stop_sessionStop a debug session, cleanup all resources, and kill the process if still running.
debugger_inspectEvaluate a JavaScript expression in the current execution context and return the result with type information.
debugger_get_stackGet the current call stack with function names, file locations (absolute paths), and line numbers.
debugger_detect_hangRun a command and detect if it hangs or enters an infinite loop. Returns hang status, location, and stack trace if hung.
debugger_set_logpointSet a logpoint that logs a message without pausing execution. Use {variable} syntax for interpolation.
debugger_set_exception_breakpointSet an exception breakpoint to pause on caught and/or uncaught exceptions.
debugger_set_function_breakpointSet a function breakpoint to pause when a function with the given name is called.
debugger_set_hit_count_conditionSet a hit count condition for a breakpoint. The breakpoint will only pause when the condition is met.
debugger_start_cpu_profileStart CPU profiling for a debug session. Collects CPU profile data for performance analysis.
debugger_stop_cpu_profileStop CPU profiling and return the profile data with bottleneck analysis.
debugger_take_heap_snapshotTake a heap snapshot for memory analysis. Returns memory usage report.
debugger_get_performance_metricsGet performance metrics including current memory usage, performance timeline, and leak detection.
Reviews
No reviews yet
Sign in to write a review