Call stack
debug_get_stackRetrieve the current call stack from a paused Node.js debug session to inspect active frames and trace execution flow during breakpoint analysis.
Instructions
Return the current call stack. Requires a paused target. Lines are 1-based.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debug_get_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session id from debug_launch/debug_attach. Required when more than one session is live. |