Skip to content

Draft: Extract Javascript frame context from sourcemaps

A naive implementation I made for extracting JS frame context from sourcemaps

TODO:

  • Handle context lines near the start or end of the file (min/max when slicing)
  • Add tests

preview

Edited by Lucas Azevedo

Merge request reports