如何通过VS-Code Debugger运行Polymer项目

时间:2019-03-13 09:12:15

标签: npm visual-studio-code polymer

环境: 带有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"
]

}

现在我要面对的问题是我要跑

enter image description here

有人可以给我一个提示,我的配置中可能有什么错误吗?

0 个答案:

没有答案