环境: 带有Live Server Extension的VISUAL CODE调试我的代码
launch.json
{
// 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": "CHROME",
"program": "${workspaceFolder}\\serve"
}
]
}
这是我的settings.json
{
"liveServer.settings.port": 5000,
"liveServer.settings.host": "localhost",
"liveServer.settings.root": "/index.html",
"liveServer.settings.CustomBrowser" : "chrome",
"liveServer.settings.AdvanceCustomBrowserCmdLine": "chrome --remote-debugging-port=9222",
"liveServer.settings.ignoreFiles" : [
".vscode/**",
"**/*.scss",
"**/*.sass"
]
}
现在我要面对的问题是我要跑
有人可以给我一个提示,我的配置中可能有什么错误吗?