搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 1 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 Shadow110

more options

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.

所有回覆 (1)

more options

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