Debugging across Python and C++

Does anyone have any debugging configs/best practices they recommend when working on PyTorch? I’ve enjoyed using VsCode’s integrated debugger to navigate the codebase but would love to hear what other tools the community finds helpful.