如何让 Firefox Developer Edition 作为 vscode 调试中的首选浏览器启动?

问题描述 投票:0回答:1

我已经尝试了 launch.json 和 settings.json 中的各种组合方式,包括当前,

{
  "type": "firefox",
  "request": "launch",
  "name": "Launch Firefox Developer Edition",
  "url": "C:\\xampp\\htdocs\\xyx\\index.html",
  "webRoot": "${workspaceFolder}",
  "firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe"
},

其他浏览器启动正常。我还在settings.json中检查了

"liveServer.settings.CustomBrowser": "firefox", 
,但选项只允许
Value is not accepted. Valid values: "chrome", "chrome:PrivateMode", "firefox", "firefox:PrivateMode", "microsoft-edge", "blisk", null.

在 vs code 中通过 launch.json 进行调试时,如何使用 Firefox 开发版启动?

visual-studio-code vscode-debugger launch firefox-developer-edition
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.