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

Support for dynamically generated JavaScript and source maps #4953

Closed
3 tasks
weinand opened this issue Apr 5, 2016 · 0 comments
Closed
3 tasks

Support for dynamically generated JavaScript and source maps #4953

weinand opened this issue Apr 5, 2016 · 0 comments

Comments

@weinand
Copy link
Contributor

weinand commented Apr 5, 2016

A recent update to SystemJS has broken this feature. I've disabled it for this milestone.

for #4492:

  • Windows
  • OS X
  • Linux

VS Code got experimental support for dynamically generated JavaScript and source maps produced by the universal dynamic module loader SystemJS. To support this the node debug extension listens for the "afterCompile" event of the node runtime and triggers a reload of the breakpoints if it detects a dynamically generated JavaScript with an inlined source map.

Please note: since the node runtime does not stop after the generated (transpiled) JavaScript has been compiled, registering breakpoints in the startup phase of the loaded JavaScript might come too late for actually hitting the breakpoints. Registration of breakpoints in code that is executed later works fine.

The snippet that triggered this feature request can be found in #4492.

I will add a better snippet for testing here.

@weinand weinand added this to the April 2016 milestone Apr 5, 2016
@egamma egamma mentioned this issue Apr 5, 2016
68 tasks
@weinand weinand closed this as completed Apr 23, 2016
@weinand weinand modified the milestones: May 2016, April 2016 Apr 23, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant