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
name="Location of debugpy (site-packages folder)",
88
89
subtype="DIR_PATH",
89
-
default=check_for_ptvsd()
90
+
default=check_for_debugpy()
90
91
)
91
92
92
93
timeout: bpy.props.IntProperty(
@@ -103,7 +104,7 @@ class DebuggerPreferences(bpy.types.AddonPreferences):
103
104
defdraw(self, context):
104
105
layout=self.layout
105
106
row_path=layout
106
-
row_path.label(text="The addon will try to auto-find the location to ptvsd, if no path is found, or you would like to use a different path, set it here.")
107
+
row_path.label(text="The addon will try to auto-find the location of debugpy, if no path is found, or you would like to use a different path, set it here.")
self.report({"ERROR"}, "Couldn't detect ptvsd, please specify the path manually in the addon preferences or reload the addon if you installed ptvsd after enabling it.")
175
+
#actually check debugpy is still available
176
+
ifdebugpy_path=="debugpy not found":
177
+
self.report({"ERROR"}, "Couldn't detect debugpy, please specify the path manually in the addon preferences or reload the addon if you installed debugpy after enabling it.")
0 commit comments