This repository contains an example implementation of the algorithm for computing original frames and scopes in a debugger
using scope information encoded in the sourcemap according to this proposal.
The algorithm can be found in src/getOriginalFrames.ts, the test directory contains some examples from here.
Furthermore it shows how this scope information could be encoded in a VLQ string in src/encodeScopes.ts/src/decodeScopes.ts.
hbenl/tc39-proposal-scope-mapping
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|