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
| 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). |