Installing debugpy adapter not working
I tried to install de debugpy adapter then I get de following error: •• Fetching Adapters •All•installed • Adapters• up • to date • Finished 0• Installing debugpy • •Downloading•https://api.github.com/repos/microsoft/vscode-python-debugger/zipball/v2026.6.0 •• Failed: • [Errno•2] • No• such • file or directory:• ' /Users/DamhertPro/Library/Caches/Sublime•Text/Package•Storage/Debugger/debugpy.tmp/debugpy_info.json
The error appears on macOS also on Linux.
- Sublime Text 4200
- macOS ventura
I reinstall the debugger package. I have remove the sublime cache debugger dir.
But no result.
Can you help me fix this problem?
Thanks
coro=<AdapterConfigurationRegistery.install_adapter() done, defined at /Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py:99> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 113, in install_adapter
raise error
File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 108, in install_adapter
await adapter.installer.perform_install(version, console)
File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 28, in perform_install
await self.post_install(version, log)
File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/adapters/python.py", line 18, in post_install
debugpy_info = core.json_decode_file(f'{path}/debugpy_info.json')
File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/core/json.py", line 24, in json_decode_file
with open(path, encoding='utf8') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/DamhertPro/Library/Caches/Sublime Text/Package Storage/Debugger/debugpy.tmp/debugpy_info.json'
They have changed the format of their package.
In the mean time you should be able to install an older version by holding down command or option when installing to select a version that works.
Thanks for your support! I choose a 2025 version and it is working now
I'm going to keep this open until its fixed
Should be fixed in 0.12.1