fix issue with database debugger using default global database instead of passed in database on multi-database systems
fix issue with database debugger using default global database instead of passed in database on multi-database systems

darkain/altaform-core,darkain/altaform-core