(new re api) Await an `inject` call before applying debugging API

Also, I've re-written half of the damn thing. It's still clearly extremely temporary, but at least it's *mildly* useful in the meantime.