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

Clicking compiled script entry in "loaded scripts" loads the script from the runtime, not the same script on disk #62183

Closed
roblourens opened this issue Oct 30, 2018 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@roblourens
Copy link
Member

Testing #62093

  • Debug anything that includes a .js script on disk
  • Click the '.js' script in the loaded scripts view
  • See that it opens a copy of that script with content loaded from node (with the IIFE module wrapper) instead of the version on disk

Is this by design? Seems like it should open the version on disk

image

@weinand
Copy link
Contributor

weinand commented Oct 30, 2018

yes, that's by design. The loaded scripts view always shows the "truth" and it should never fail (because there is no guesswork in matching the script to something on disk).

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Oct 30, 2018
@weinand weinand added the *as-designed Described behavior is as designed label Nov 12, 2018
@weinand weinand closed this as completed Nov 14, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

2 participants