How to debug git with visual studio code on a mac

last updated: Aug 09, 2024

I needed to figure out how to debug the git binary to figure out exactly what it was doing, and I thought I'd share the setup because it took me a little while to get going.

Prerequisites

Building git

Debugging git

If all goes well, you should now be controlling the execution of git inside VS code! Go ahead and dig in to try and understand what's going on.

I might write more about what it is that's going on in there, but I'm not sure - let me know if you would like to understand some part of it better.

โ†‘ up