-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add sourceMapPathOverrides #140
Comments
The equivalent to |
Is there a way to automatically parse |
That should be possible, just remove any trailing |
@hbenl should we make it a feature request to allow the same property and syntax? |
@NatoBoram I just created an Angular app with Angular CLI version 6 and I could debug it without any @digitarald I'm not very fond of that idea - we'd have to ensure that the path mapping code works exactly the same as the one in the Chrome adapter, otherwise any difference will be perceived as a bug in the Firefox adapter (which would only be fair if we create the expectation that it works the same). In my experience, manual path mappings are very error-prone and I've seen several examples where people break the debugger by adding manual path mappings when it would have worked fine without them, so I don't want to encourage people to blindly add even more manual path mappings. |
I have added the Path Mapping Wizard, which I think is much better for dealing with path mapping issues than trying to support |
There's a great starting point for debugging Angular apps at vscode-recipes/Angular-CLI, but it uses the
sourceMapPathOverrides
key, which doesn't seem to be supported by Debugger for Firefox. Workarounds would be to add a configuration for Firefox in vscode-recipes/Angular-CLI or to add a snippet for Firefox to Angular Snippets, but it would be nice if Debugger for Firefox could reach feature parity with Debugger for Chrome.The text was updated successfully, but these errors were encountered: