PhpStorm 在我設置 Firefox 時查找 Google Chrome

標記

PhpStorm 2021.2.2 在 Ubuntu 20.04 上。我設置了一個運行配置如下:

在此處輸入圖片說明

在此處輸入圖片說明

但是當我啟動這個運行配置時,我得到:

在此處輸入圖片說明

如果我選擇 Firefox 作為瀏覽器,我不明白為什麼它會尋找 Google Chrome。

懶人

可悲的是,這是正確的/這裡沒有錯誤。

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] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Google Chrome如何找到Firefox书签?

Firefox中的Google Chrome扩展程序

Google字体Chrome,Safari和Firefox

在Firefox中快速搜索Google Chrome?

我的背景图片显示在Google Chrome中,但不显示在Firefox中

我的媒体查询不适用于 google chrome 和 firefox

我应该传递哪些WebRTC约束和选项以实现Firefox和Google chrome之间的互操作性

Firefox和Chrome中的window.location给了我两个不同的Google宏返回字符串

图片在Google Chrome浏览器中失真,但在Firefox中不失真。我应该如何处理?

Firefox / Google Chrome插件可启用多会话浏览

Firefox和Chrome中多个Google网站上的字体丑陋

将Google Chrome或Firefox嵌入Excel工作表

Google Chrome / Internet Explorer akzeptiert keine selbstsignierten, Firefox

Google Chrome和Firefox-div的不同顺序

Google Chrome / Internet Explorer不接受自签名,Firefox接受

为什么Google Chrome和Firefox在Ubuntu上共享书签?

如何让Ranger在Google Chrome(而不是Firefox)中打开HTML文件?

Div不在Google Chrome中显示(在Firefox中显示)

如何查找使用chrome或firefox的POST或GET发送的字段

我正在使用复选框chk.jpg作为图像,它在Google Chrome浏览器中工作正常,但在Mozilla Firefox中无法正常工作吗?

当我在地址栏中输入网址而不在Google中搜索“ blabla://”时,如何强制Chrome / Firefox转到该网址“ blabla://”?

我的网站在 Firefox 中看起来与 Chrome 不同

我可以在Firefox中使用Chrome的Pepper Flash吗?

Chrome和Firefox可以修复我的HTML标签吗?

为什么我的视频在Firefox上而不在Chrome上拉伸?

chrome 工作正常,但 Firefox 给我这个错误

从Firefox粘贴到PHPStorm IDE无效

为什么我无法获得Google chrome Chrome Grid Inspector?

Firefox chrome://文档网址