Using platformio and vscode to debug native linux (x86_x64) application


#1

Hello all,

I am trying to setup my platformio project for debugging the application under Debian Linux (x64). Unfortunately, I am getting the error that I have to correctly setup my environment in platformio.ini.
It currently is quite plain forward:

[platformio]
env_default = linux

...

[env:linux]
platform = native

Instead of native I also tried linux_x86_x64.

Sorry for asking this basic question but I am quite new to platformio and I didn’t find any solution after googling for a while.

Thanks in advance.