0
点赞
收藏
分享

微信扫一扫

vscode javascript用firefox来debug


{
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"name": "Launch firefox against localhost",
"firefoxExecutable": "D:/Program Files/Mozilla Firefox/firefox.exe",
"url": "file:///要跑的文件在本地的路径",
"webRoot": "${workspaceRoot}"
},
],
"code-runner.executorMap": {
"javascript": "node",
"html": "firefox",
}
}

url的例子:

"url": "file:///D:/git/project/example.html",


举报

相关推荐

0 条评论