Configure database.travis.yml for test environment.
Use debugger only in development mode (for Travis).