WIP: debug extension registration/loading