
For that, on the top bar, select the terminal option and click on Configure tasks, there youll get all the options, preferably choose the g++ option. Extension for Visual Studio Code - Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F, C, VBScript, TypeScript, CoffeeScript. "dockerfile": "$" to "localRoot": "c:\projects\fastapi_debug_template\" which matches case on the "C" drive to "c" and I include the trailing \ then this error goes away however the breakpoints are still not being hit and vscode reports "Breakpoint in file that does not exist". For that youll have to first configure VS Code to choose g++ as the default compiler.
