VSCode Node cannot launch program setting the 'outFiles' attribute might help

简介:项目迁移到GitLab 后不能调试,各种百度谷歌 stackoverflow git  vscode issue  无果, N天后解决 明显和outFiles没关系

 

解决办法:  add configuration 出现 "type": "pwa-node"

 "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}\\bin\\www"
        },
        {
            "name": "Launch pwa-node",
            "program": "${workspaceFolder}/bin/www",
            "request": "launch",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "type": "pwa-node"
        }
    ]

 

posted @ 2020-06-12 10:19  Rocken.li  阅读(936)  评论(2编辑  收藏  举报