-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment data
- debugpy version: 1.6.1 (run
import debugpy; print(debugpy.__version__)if uncertain) - OS and version: Windows 10 / CentOS 7 (fails on both)
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.2 via pyenv
- Using VS Code or Visual Studio: No
Actual behavior
I am doing the following in my module, which worked in 1.6.0:
debugpy.configure(python=_path_to_any_working_python3())
debugpy.listen(5678)Upon running my script, which has debugpy.configure executing as the module is importing, I get the following stack dump:
# File "<snip>", line 89, in <module>
#
# debugpy.configure(python=_path_to_any_working_python3())
#
# File "<snip>\lib\site-packages\debugpy\public_api.py", line 31, in wrapper
#
# return wrapped(*args, **kwargs)
#
# TypeError: configure() missing 1 required positional argument: 'properties'
It would appear that the properties argument to configure suddenly became required. Was this intentional? Or was I perhaps using it wrong in the first place?
Expected behavior
No errors
Steps to reproduce:
- Install debugpy 1.6.1
- Use the configure function in the same manner as worked in 1.6.0
- ...
- Profit!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working