Hitbox Viewer thru Emulator (PCSX2)

Heyo. I’ve been dissecting a few fighting games on PCSX2, good and bad, but I recently began thinking that I need much deeper information than what I’d gotten. Things like hitboxes, frame data, etc. The only game I was serious about doing this for was SFEX3, so let’s say I’m only doing that one. How would I go about making hitboxes visible, or making a hitbox visible while still keeping things like frame stepping and save states?
Mind you, I have programming experience, so if it turns out I have to somehow compile my own viewer or something I have no qualms with doing so.