1.在使用vscode時(shí),報(bào)錯(cuò)如下
網(wǎng)上查了些資料,最后真正有用的解決方法是:
文件--首選項(xiàng)--設(shè)置,輸入“terminal.integrated.profiles”,在最后的Windows點(diǎn)擊在setting.json中編輯
?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-820922.html
在PowerShell中添加內(nèi)容:
?"path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
? ? ? ? "args": [
? ? ? ? ? ? "-NoExit", "/c", "chcp 65001"
? ? ? ? ],
?
添加后能正常開(kāi)啟終端調(diào)試文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-820922.html
?
到了這里,關(guān)于vscode報(bào)錯(cuò),終端進(jìn)程已終止,退出代碼1的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!