Developer tools can't find any JS file sources on localhost
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: flaburgan, Unassigned)
References
Details
Attachments
(1 file)
|
170 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
I develop on an website locally with Firefox Developer Edition
I open the developer tools and go to the "debugger" tab
I look at the "Sources" tab
Actual results:
It is written "This page doesn't have any sources" (translated from french)
Expected results:
My JS files should be listed.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
Thanks for the report!
Any chance you could provide a test case (your page with JS files), so we can reproduce the problem on our machines?
If loading e.g. google.com page I can see JS files in the Debugger Sources panel
Honza
As said, this only happens on local URLs (file:///, localhost, http://mylocalwebsite/index.html...). You can save the file I just attached and open it with Firefox Developer Edition and for me, it isn't allowing me to put a breakpoint on the JS. I'm using the version 84.0b7 that I downloaded on the mozilla website, on Linux Mint x64.
Comment 5•5 years ago
|
||
Thanks Flaburgan,
We are not able to reproduce it on Windows and MAC, and wondering if this an Ubuntu specific issue.
Also would you be able to test on the latest nightly which is version 85?
There is also work going on which might be related to your issue. See Bug 1678254 for details.
Comment 6•5 years ago
|
||
Closing this for now since we are not able to reproduce.
Please feel free to reopen if still occuring
Also see Bug 1678254 for related issue.
Thanks very much!
Updated•2 years ago
|
Description
•