I do this using CLion (which supports Python as well as C++). You can set up two different launch configurations for your program, one that launches it as a Python app and the other as a C++ app. Then if I need to debug the C++, I can launch it in debug using the C++ config and the graphical debugger will attach. The only downside is you can't step between Python and C++, but I'm not aware of any tool that lets you do that.
--- [Visit Topic](https://discuss.tvm.ai/t/how-do-you-debug-the-c-core-while-launching-from-python/7638/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/d6dd29af080b53ccecd0e07c150f8b4bbb775556738587fa0ffa29afe7dc9c2d).