Best way to debug a plugin?

Cool, I would recommend Visual Studio Code for debugging on Linux.

https://forum.juce.com/t/how-to-debug-application-in-linux-vs-code/53974/4r

And if you didn’t already find it…

(though i think that one is in the JUCE docs)

Let me know if you need more help.