Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 594 Bytes

README.md

File metadata and controls

4 lines (4 loc) · 594 Bytes

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.