美文网首页
vscode 调试vue

vscode 调试vue

作者: wwq2020 | 来源:发表于2020-09-21 17:50 被阅读0次

    安装debuuger for chrome

    安装browser preview

    在命令行中启动server

    yarn serve
    

    在Run下面选择start debugging

    选择Chrome

    添加如下配置

    {
        "version": "0.1.0",
        "configurations": [
            {
                "type": "browser-preview",
                "request": "launch",
                "name": "Browser Preview: Launch",
                "url": "http://localhost:8080"
            },
            {
                "type": "browser-preview",
                "request": "attach",
                "name": "Browser Preview: Attach"
            }
        ]
    }
    

    相关文章

      网友评论

          本文标题:vscode 调试vue

          本文链接:https://www.haomeiwen.com/subject/mztbyktx.html