Quantcast
Channel: Visual Studio Code
Viewing all articles
Browse latest Browse all 598

请教一下调试配置文件如何写

$
0
0

项目是使用 npx degit dcloudio/uni-preset-vue#vite-ts vue-uniapp-template 创建的,在 vscode 中配置了 launch.json 文件进行 h5 页面调试,但是断点一直打不上

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "chrome",
            "request": "launch",
            "name": "Launch Chrome against localhost",
            "url": "http://localhost:5173",
            "webRoot": "${workspaceFolder}",
        }
    ]
}

在 script 中打的断点都是灰的,请问如何配置?


Viewing all articles
Browse latest Browse all 598

Trending Articles