Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Introduce source map to allow debugging #1879

Open
grgustaf opened this issue Apr 27, 2018 · 0 comments
Open

Introduce source map to allow debugging #1879

grgustaf opened this issue Apr 27, 2018 · 0 comments
Labels

Comments

@grgustaf
Copy link
Contributor

When debugging with jerryscript-debugger-ts project, since we concatenate all sources into one big file for our JS "modules", the debugger shows the one big source file. By using a source map, we could retain the original source format by mapping lines in the "compiled" source back to the original sources.

This would require an extra step of map generation at the time of concatenation, and then then the debugger proxy would have to be pointed to the original sources and this map to be able to piece together all the info needed.

This is mostly a feature needed in jerryscript-debugger-ts so we should really open an issue there, but part of it is ZJS-specific and would need to be handled here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant