Debugging VST3 in Linux

So I’ve managed to build a plugin in Ubuntu using cmake / make. Now how do I go about running my plugin in Reaper under some sort of debugger?

I’ve installed QT Creator and I’m able to use that to debug in Reaper. It was incredibly easy to do. Just open the top level CMakeLists.txt, go to the project settings and add an external debugger.