Hey, I've been dealing with the same thing and managed to get a pretty good VSCode setup going. I'm by no means an expert in C or Linux, so there might be better ways to do what I've done, but this is what has worked for me.
I'm using Windows 11, no$gba as my emulator, and my physical console is...