Support creating debug contexts.