You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
kcuzner
changed the title
Properties parameter to the configure API has become required in 1.6.1, a breaking change
Properties parameter to the configure API has become required in 1.6.1
Jul 7, 2022
This is a regression from the refactoring that added type signatures. I'll address this ASAP. As it is a breaking API change, the fix warrants a point release.
int19h
pushed a commit
to int19h/debugpy
that referenced
this issue
Jul 7, 2022
Environment data
import debugpy; print(debugpy.__version__)
if uncertain)Actual behavior
I am doing the following in my module, which worked in 1.6.0:
Upon running my script, which has
debugpy.configure
executing as the module is importing, I get the following stack dump:It would appear that the
properties
argument toconfigure
suddenly became required. Was this intentional? Or was I perhaps using it wrong in the first place?Expected behavior
No errors
Steps to reproduce:
The text was updated successfully, but these errors were encountered: