vsCode写js的launch.json文件

vsCode写js的launch.json文件_第1张图片

{

    // Use IntelliSense to learn about possible attributes.

    // Hover to view descriptions of existing attributes.

    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

    "version": "0.2.0",

    "configurations": [

        {

            "type": "chrome",

            "request": "launch",

            "name": "Launch Chrome against localhost",

            "url": "http://localhost:8080",

            "file": "${workspaceFolder}/index.html",

            "sourceMaps": true,

            "webRoot": "${workspaceFolder}"

        }

    ]

}

你可能感兴趣的:(vsCode写js的launch.json文件)