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"
        }
    ]

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM