可悲的是,這是正確的/這裡沒有錯誤。
JavaScript 調試僅使用基於 Chrome 的瀏覽器完成(已經有一段時間了)。
JavaScript 代碼的調試僅在 Google Chrome 和其他基於 Chromium 的瀏覽器中受支持。
To debug JavaScript using Firefox you need to use Firefox Remote type of Run/Debug Configuration (need to manually create and use it) and enable Remote Debugging in Firefox in advance. https://www.jetbrains.com/help/phpstorm/2021.1/debugging-javascript-in-firefox.html has all the info.
A ticket to watch after: https://youtrack.jetbrains.com/issue/WEB-14987
NOTE: the aforementioned Firefox Remote type of Run/Debug Configuration is no longer present in current 2021.2 version. The last version that has it is 2021.1.
In addition to the above, from https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010846880/comments/360003174860
不幸的是,我們現在無法在 Firefox 中提供任何調試功能:( 我們曾經通過Firefox 遠程運行配置支持 Firefox 遠程調試(但沒有源映射),但由於更改了我們的解決方案在最新的 Firefox 版本中不起作用協議,似乎沒有一個簡單的方法來修復它。我們最近取得了一些進展,但仍然存在一些阻塞問題。
相關門票:
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句