Ignore modules check
from backup.config import Config, Setting, Startable
from backup.logger import getLogger
-import sys
from injector import inject, singleton
logger = getLogger(__name__)
@@ -13,9 +12,6 @@ class DebugServer(Startable):
async def start(self):
if self._config.get(Setting.DEBUGGER_PORT) is not None:
- if 'debugpy' not in sys.modules:
- logger.error("Unable to start the debugger server because the debugpy library is not installed")
- else:
import debugpy
port = self._config.get(Setting.DEBUGGER_PORT)
logger.info("Starting debugger on port {}".format(port))
