Ant*_*oro 8 firefox debugging visual-studio-code 22.04
我在 Ubuntu 22 上使用 Firefox 100.0.1 没有出现问题,但是当我尝试从 VSCode 启动调试器时,出现以下错误:
Your Firefox profile cannot be loaded. It may be missing or inaccessible.
connect ECONNREFUSED 127.0.0.1:6000
Run Code Online (Sandbox Code Playgroud)
这是我到目前为止所尝试过的:
sudo apt purge firefox
.mozilla
和.cache/mozilla
文件夹firefox -p
并删除所有配置文件firefox snap 无法访问 /tmp,因此您必须在 launch.json 配置的 tmpDir 属性中提供另一个文件夹,如下所示:
{
"type": "firefox",
"request": "launch",
"name": "Launch My Firefox",
"url": "https://myurl",
"webRoot": "${workspaceFolder}",
"timeout": 90000,
"tmpDir": "/some/folder/of/yours/with/write/perms"
},
Run Code Online (Sandbox Code Playgroud)
这是由vscode Firefox 调试插件的作者修复的。
归档时间: |
|
查看次数: |
3537 次 |
最近记录: |