added mongoose debugging to development