Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a "debug" mode and source mapping in JS #166

Open
flaki opened this issue Oct 19, 2022 · 0 comments
Open

Implement a "debug" mode and source mapping in JS #166

flaki opened this issue Oct 19, 2022 · 0 comments
Assignees
Labels
js-toolchain JavaScript & TypeScript toolchain-related issues

Comments

@flaki
Copy link

flaki commented Oct 19, 2022

The JS toolchain currently mangles line numbers, this makes it really hard to debug runtime errors as the line numbers don't match up with the original source.

Storing metadata and source maps with compiled modules would make debugging runtime errors possible.

@flaki flaki added the js-toolchain JavaScript & TypeScript toolchain-related issues label Oct 19, 2022
@flaki flaki self-assigned this Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js-toolchain JavaScript & TypeScript toolchain-related issues
Projects
None yet
Development

No branches or pull requests

1 participant