Skip to main content
Glama

get_original_location

Map generated code locations to original source locations using source maps for debugging bundled or transpiled JavaScript/TypeScript code.

Instructions

Maps a generated code location back to the original source location using source maps. Essential for debugging bundled or transpiled code (TypeScript, Babel, webpack, esbuild, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesID of the debugging session.
script_idYesID of the script containing the generated code. Obtain from list_scripts or get_call_stack.
line_numberYesLine number in the generated code (1-based).
column_numberYesColumn number in the generated code (0-based).

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