I’m currently working on a (very basic) modifier, using VSCode to code on Linux and the provided make command line tools for compiling. The UI part of the modifier is done, but when I try to add the actual functionality, my code crashes Blender once the user adds the modifier to the model. I’m not seeking help on how to fix the crash itself, I’d rather like to learn how I can investigate this without too much trial and error by creating a Debug build and looking at variable contents and more descriptive error messages.
On Windows, I can use Visual Studio Community edition and compile for the Debug target, then run Blender with a Debugger attatched. How would I do something similar on Linux? Preferrably with VSCode, setting break points and the like?