当我设置 Firefox 时,PhpStorm 寻找 Google Chrome
PhpStorm looks for Google Chrome when I set up Firefox
Ubuntu20.04 上的 PhpStorm 2021.2.2。我设置了一个 运行 配置如下:
但是当我启动此 运行 配置时,我得到:
如果我选择 Firefox 作为浏览器,我不明白为什么它会寻找 Google Chrome。
遗憾的是这是正确的/这里没有错误。
JavaScript 调试仅在基于 Chrome 的浏览器上完成(现在已经有一段时间了)。
- https://www.jetbrains.com/help/phpstorm/2021.2/run-debug-configuration-javascript-debug.html
- https://www.jetbrains.com/help/phpstorm/2021.2/debugging-javascript-in-chrome.html
Debugging of JavaScript code is only supported in Google Chrome and in other Chromium-based browsers.
要使用 Firefox 调试 JavaScript,您需要使用 Firefox Remote 类型的 Run/Debug 配置(需要手动创建和使用它)并提前在 Firefox 中启用远程调试。 https://www.jetbrains.com/help/phpstorm/2021.1/debugging-javascript-in-firefox.html 拥有所有信息。
观看后的门票:https://youtrack.jetbrains.com/issue/WEB-14987
注意: 上述 Firefox 远程类型 Run/Debug 配置 在当前 2021.2 版本 中不再存在。最后一个版本是 2021.1.
除上述之外,来自https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010846880/comments/360003174860
Unfortunately, there's nothing we can offer for debugging in Firefox now :(
We used to support Firefox Remote Debugging (but without source maps) through the Firefox Remote run configuration, but our solution doesn't work in the latest Firefox versions due to changes in the protocol, and there doesn't seem to be an easy way to fix it. We've made some progress recently, but there are still some blocking issues.
Related tickets:
Ubuntu20.04 上的 PhpStorm 2021.2.2。我设置了一个 运行 配置如下:
但是当我启动此 运行 配置时,我得到:
如果我选择 Firefox 作为浏览器,我不明白为什么它会寻找 Google Chrome。
遗憾的是这是正确的/这里没有错误。
JavaScript 调试仅在基于 Chrome 的浏览器上完成(现在已经有一段时间了)。
- https://www.jetbrains.com/help/phpstorm/2021.2/run-debug-configuration-javascript-debug.html
- https://www.jetbrains.com/help/phpstorm/2021.2/debugging-javascript-in-chrome.html
Debugging of JavaScript code is only supported in Google Chrome and in other Chromium-based browsers.
要使用 Firefox 调试 JavaScript,您需要使用 Firefox Remote 类型的 Run/Debug 配置(需要手动创建和使用它)并提前在 Firefox 中启用远程调试。 https://www.jetbrains.com/help/phpstorm/2021.1/debugging-javascript-in-firefox.html 拥有所有信息。
观看后的门票:https://youtrack.jetbrains.com/issue/WEB-14987
注意: 上述 Firefox 远程类型 Run/Debug 配置 在当前 2021.2 版本 中不再存在。最后一个版本是 2021.1.
除上述之外,来自https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010846880/comments/360003174860
Unfortunately, there's nothing we can offer for debugging in Firefox now :( We used to support Firefox Remote Debugging (but without source maps) through the Firefox Remote run configuration, but our solution doesn't work in the latest Firefox versions due to changes in the protocol, and there doesn't seem to be an easy way to fix it. We've made some progress recently, but there are still some blocking issues.
Related tickets: