mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
remove logging no longer needed and fix a test
This commit is contained in:
parent
ac37980f6f
commit
05709cfa10
2 changed files with 1 additions and 7 deletions
|
|
@ -161,9 +161,6 @@ def set_target(kind: str, parser=(lambda x: x), positional=False):
|
|||
|
||||
options.target = target
|
||||
|
||||
log.debug("kind: " + kind)
|
||||
log.debug("target: " + target)
|
||||
|
||||
return do
|
||||
|
||||
|
||||
|
|
@ -221,9 +218,6 @@ def parse_args():
|
|||
parse_args_from_command_line(seen)
|
||||
parse_args_from_environment(seen)
|
||||
|
||||
log.debug("options:")
|
||||
log.debug(options.__dict__)
|
||||
|
||||
if options.target is None:
|
||||
raise ValueError("missing target: " + TARGET)
|
||||
|
||||
|
|
|
|||
|
|
@ -224,5 +224,5 @@ def test_script_args(cli):
|
|||
args = ["--listen", "8888", "spam.py", "arg1", "arg2"]
|
||||
argv, options = cli(args)
|
||||
|
||||
assert argv == ["--listen", "8888", "spam.py", "arg1", "arg2"]
|
||||
assert argv == ["arg1", "arg2"]
|
||||
assert options["target"] == "spam.py"
|
||||
Loading…
Add table
Add a link
Reference in a new issue