Skip to content

Commit

Permalink
Simplify initialize_debugpy
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Dec 6, 2024
1 parent a871e41 commit dbd0cac
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@


def initialize_debugpy():
try:
import debugpy
except ImportError:
sys.stdout.write(
"debugpy is not installed, please install it with: pip install debugpy\n"
)
return
import debugpy

if not os.getenv("RUN_MAIN"):
debugpy.listen(("0.0.0.0", 5678))
Expand Down

0 comments on commit dbd0cac

Please sign in to comment.