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

enabled full typescript sourcemaps (with breakpoints and everything!) #447

Conversation

telamonian
Copy link
Member

This is not a user-facing change, but rather a bump in quality of life for the devs. To see the full benefit, this will also require some tweaks to the webpack build system in core (I think I have that already figured out, though).

The upshot is that when you debug the code (eg, using Chrome devtools), instead of the compiled Javascript, you'll see the original .ts sources. You can also set breakpoints wherever you like in the sources, and they'll work correctly/consistently

this will make debugging both jlab core and extensions much easier inthe future
Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx @telamonian indeed it will ease our life 😃

@telamonian
Copy link
Member Author

You can actually see this in action now if you install Jupyterlab from the latest HEAD (with jupyterlab/jupyterlab#7541)

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

Successfully merging this pull request may close these issues.

None yet

2 participants