Skip to content

Commit b00a812

Browse files
authored
pydevd: Fix up prefix of attach shared library for Windows (#1939)
Follow-up to #1917, which changed the prefix for Windows. The crux of that contribution was about enabling attaching on Sillicon Mac (in fact, it came from my colleagues at Zed Industries). This however broke .dll lookup per zed-industries/zed#35640 (comment)
1 parent 1aff9aa commit b00a812

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/debugpy/_vendored/pydevd/pydevd_tracing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,9 @@ def get_python_helper_lib_filename():
250250
else:
251251
suffix = suffix_32
252252

253-
if IS_WINDOWS or IS_MAC: # just the extension changes
253+
if IS_WINDOWS: # just the extension changes
254+
prefix = "attach_"
255+
elif IS_MAC:
254256
prefix = "attach"
255257
suffix = ""
256258
elif IS_LINUX: #

0 commit comments

Comments
 (0)