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

Extension chokes on sourcemap when debugging addons #326

Open
stevej2608 opened this issue Mar 12, 2023 · 0 comments
Open

Extension chokes on sourcemap when debugging addons #326

stevej2608 opened this issue Mar 12, 2023 · 0 comments

Comments

@stevej2608
Copy link

Hi,

I'm trying to debug a simple FF add-on that I'm packaging with Parcel. vscode-firefox-debug loads the extension and it runs fine. The problem is I'm unable to set/hit break points.

I played around with many launch configuration pathMappings combinations without success. I then enabled logging in the launch definition and I now get the following error report when I start a debug session:

INFO |000.178|PathConversion: Can't convert url data:application/json;charset=utf-8;base64,eyJtYXBwaW5ncyI6Ijs7...

The problem URL is the data sourcemap URL added at the end of the associated JS file packaged by Parcel.

I don't think the sourcemap URL is corrupted as I can load the Parcel generated JS files using the VSCODE colder.source-map-visualization extension without complaint.

Is there a work round for this?

Cheers, Steve

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

No branches or pull requests

1 participant