A Modern C Development Environment | Interrupt

This is a great article on how to setup a C development environment.

I prefer to have the debugger run natively on the host and connect to it by adding
“gdbTarget”: “host.docker.internal:2331”,
to the configuration in launch.json. This way I do not have to mount the USB-probe in the container.