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