How to make shared gl context debuggable?

In my main thread, I’ve told cinder to give me a debug context (via RendererGl::debug()) and this works. But when I create a new shared context for my worker thread (auto backgroundGlCtx = gl::Context::create(gl::context());), I get a non-debug context.

I verified the above 2 statements via:

GLint isDebug;
glGetIntegerv(GL_CONTEXT_FLAGS, &isDebug);
cout << "isDebug" << (isDebug & GL_CONTEXT_FLAG_DEBUG_BIT) << endl;

Any idea how to fix this?