WIP: debug extension registration/loading
WIP: Barely compiles