Only im port debugpy if you want to debug stuff
This commit is contained in:
parent
3b98cef590
commit
5712c3da63
@ -1,7 +1,6 @@
|
||||
import argparse
|
||||
import logging
|
||||
|
||||
import debugpy
|
||||
|
||||
|
||||
class Cli:
|
||||
@ -50,6 +49,7 @@ class Cli:
|
||||
self.__args = parser.parse_args()
|
||||
|
||||
if self.__args.debug:
|
||||
import debugpy
|
||||
debugpy.listen(5678)
|
||||
debugpy.wait_for_client()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user