Add support for debug-in memory database