Support sync code breakpointing via built-in

Override `breakpoint()` for sync code making it work
properly with `trio` as per:

https://github.com/python-trio/trio/issues/1155#issuecomment-742964018

Relates to #193
prehardkill
Tyler Goodlet 2021-02-15 19:23:53 -05:00
parent 572e7b24c2
commit 29bdfcb950
1 changed files with 0 additions and 2 deletions

View File

@ -69,8 +69,6 @@ def _trio_main(
""" """
log.info(f"Started new trio process for {actor.uid}") log.info(f"Started new trio process for {actor.uid}")
log.info(f"Started new trio process for {actor.uid}")
if actor.loglevel is not None: if actor.loglevel is not None:
log.info( log.info(
f"Setting loglevel for {actor.uid} to {actor.loglevel}") f"Setting loglevel for {actor.uid} to {actor.loglevel}")