tc39-proposal-scope-mapping
v0.2.0
Published
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](https://github.com/tc39/source-map-rfc/issues/37#issue
Downloads
3
Readme
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
.