Skip to content

Commit

Permalink
set breakpoint on debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
steersbob committed Jan 24, 2024
1 parent 26aaa6a commit 105f4a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brewblox_history/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def create_app() -> FastAPI:
import debugpy
debugpy.listen(('0.0.0.0', 5678))
LOGGER.info('Debugger is enabled and listening on 5678')
debugpy.wait_for_client()
debugpy.breakpoint()

# Call setup functions for modules
mqtt.setup()
Expand Down

0 comments on commit 105f4a7

Please sign in to comment.