tasks.json:
Код: Выделить всё
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "C:/msys64/ucrt64/bin/g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "C:/msys64/ucrt64/bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
Код: Выделить всё
PS C:\hello> & 'c:\Users\user\.vscode\extensions\ms-vscode.cpptools-1.28.3-win32-x64\debugAdapters\bin\WindowsDebugLauncher.exe' '--stdin=Microsoft-MIEngine-In-vnnqsqdd.kdf' '--stdout=Microsoft-MIEngine-Out-r3s5fxej.aau' '--stderr=Microsoft-MIEngine-Error-fv1p5gjp.tox' '--pid=Microsoft-MIEngine-Pid-e3c5o43t.dko' '--dbgExe=C:\msys64\ucrt64\bin\gdb.exe' '--interpreter=mi'
Hello world
Спасибо за помощь
Подробнее здесь: https://stackoverflow.com/questions/797 ... 0xc0000279
Мобильная версия