Added lib.g_withDebugCall to turn off call debug at runtime.