Hey! Thx a lot for helping out.
Hmmm, that’s weird. Can’t get it to work in my real project. So tried to follow your steps exactly in the “intellisense problem project”, but also without success.
I added the debug_test = *
(test.cpp is read because of intellisense, it compiles fine ofc)
I don’t know which button you press in the “debug sidebar”. I assume this one:

When I do that, I immediately get this error

When I try to follow your steps in CLI:
-
pio debug
(compiles all in debug mode I guess) -
pio debug -e native --interface=gdb -x .pioinit
I immediately get this error:

Why is it ignoring debug_test?
Why is it complaining about the environment in platformio.ini, if you use the exact same one?
Do I need to install gdb manually? Or is that part of the whole gcc tool chain I installed?
