I finally figured out how to configure remote linux debugging (gcc, gdb, makefile project) in VS2019 but I still have a problem: whenever I build my solution without errors,