Using platformio debugger in neovim

Neovim has come a long way in terms of debugging especially with support for nvim-dap and nvim-dap-ui.

Currently, I don’t see a way to use the PlatformIO debugger with Neovim and I would love to write up something to bring support for it to Neovim, most-likely a plugin.

In spirit of that, I opened up this issue on the GitHub but sadly there has been no activity.

I would like to get the ball moving on this since it has been pretty long. To be clear, I currently do not have the full picture for the integration process and will most likely face challenges along the way. But I’m pretty sure we could solve them as we go along.

So, does the launch.json as generated by the PlatformIO core for VSCode work here, too?

It explicitly mentions the Microsoft C/C++ extension as an available “debug adapter”, with even a Wiki entry, and the launch.json