{ "tasks": [ { "type": "shell", "label": "C/C++: gcc.exe 生成活动文件", "command": "D:\\Program Files\\mingw64\\bin\\gcc.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe", "-Wall", "-Werror", "-std=c++17", "-fsanitize=address", "-static-libasan", "-lws2_32" ], "options": {"cwd": "${fileDirname}"}, "problemMatcher": ["$gcc"], "group": {"kind": "build","isDefault": true}, "detail": "调试器生成的任务。" } ], "version": "2.0.0" }