Starting the debugger automatically

There are certain library routines that you can embed in your code that will automatically start and stop the debugger when called: CBL_DEBUGBREAK or CBL_DEBUG_START. You can also invoke the debugger automatically when the application fails: Just-In-Time (JIT) debugging.