Wrap extension contexts from debug contexts.