Skip to main content
Glama

get_call_stack

Retrieve the current call stack when debugging is paused to view the chain of function calls, file locations, and scope information for JavaScript/TypeScript applications.

Instructions

Retrieves the current call stack when execution is paused. Shows the chain of function calls that led to the current location, including function names, file locations, and scope information. If source maps are available, original source locations are included.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesID of the debugging session. The session must be paused.
include_asyncNoWhether to include asynchronous stack traces (Promise chains, async/await). Defaults to true.

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/johngrimes/mcp-js-debugger'

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