X
Tap here to go to the mobile version of the site.

Support Forum

Debugger sources seem to require reload for <script type="module">

Posted

I'm trying to debug some ES6 code using the debugger - however on page reload, only the initial file will hit a debugger breakpoint.

This means that if i want to debug other files, i need to step inside a function and then make a breakpoint if it happens to go into a new file.

If the debugger is reloaded it will show all the source files.

I'm trying to debug some ES6 code using the debugger - however on page reload, only the initial file will hit a debugger breakpoint. This means that if i want to debug other files, i need to step inside a function and then make a breakpoint if it happens to go into a new file. If the debugger is reloaded it will show all the source files.
Shadow110 1072 solutions 14836 answers

Hi, If you have a bug, file a bug report : https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines

Hi, If you have a bug, file a bug report : https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines