get_original_location
Map a generated code location (line and column) back to the original source using source maps, enabling debugging of bundled or transpiled code like TypeScript, Babel, webpack, or esbuild.
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
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ID of the debugging session. | |
| script_id | Yes | ID of the script containing the generated code. Obtain from list_scripts or get_call_stack. | |
| line_number | Yes | Line number in the generated code (1-based). | |
| column_number | Yes | Column number in the generated code (0-based). |