-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Debugger throws when debugging code which references a source map but the map file is missing. #13336
Comments
I have node 6.5.0. @bpasero I am pretty sure that this has nothing to do with the subst setup. It looks for a file on disk that doesn't exist and throws. I tested it with opening the same workspace from C:\ and it throws in the same way. |
@isidorn you need to step into 'createMessageConnection'. In both screen casts you are stepping into process.stdin / stdout getters. You need to step out and step in again. May be more times. Sorry for not making this more explicit. |
@dbaeumer thanks for the clarification. I can repro on Win, not on Mac. fyi @roblourens |
Ok pushed a fix which handles the error better and fixes the issue on windows. |
I pushed a fix for this that catches anything outside of _loadSourceMap... not sure if I should put it in 1.6 or not? |
@roblourens for now I would go with the original fix since it is smaller and already verified. Unles you see some direct benefits of going with you proposed solution for the current release? |
Nah, let's go with the original fix for 1.6 and keep the other for later. |
Steps to Reproduce:
You get (see the exception on the call stack). I am pretty sure that before the debugger simply stepped into the JS code.
The text was updated successfully, but these errors were encountered: