I use VSCode along with gcc to compile C code. I was using the same launch.json and tasks.json file last week too but it no longer compiles since today; it's stuck on "Starting Build..."
However, if I paste the command under "Starting Build..." directly to the terminal, the compiled binary is indeed created.
I got no help in Googling.
karthik@cosmic:~$ code --version
1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64
karthik@cosmic:~$ uname -osr
Linux 5.16.19-76051619-generic GNU/Linux
