首页 > 代码库 > vscode中启动浏览器的tasks.json

vscode中启动浏览器的tasks.json

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "0.1.0",
    "command": "firefox",
    "windows": {
        "command": "D:/Program Files/Mozilla Firefox/firefox.exe" //firefox浏览器的路径
    },
    "isShellCommand": true,
    "args": [
        "${file}"
    ],
    "showOutput": "always"
}

vscode中启动浏览器的tasks.json