Recently my VSCode is out of work. When I choose Python Debugger: Debug Python File
from the upper-right drop-down menu, the TERMINAL panel will show the command line of starting Python debugger like:
cd /Users/me/Projects/kiwi ; /usr/bin/env /Users/me/miniconda3/bin/python /Users/me/.vscode/extensions/ms-python.debugpy-2025.4.1-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 49633 -- /Users/me/Projects/kiwi/test.py
then it hangs there for ever. If I choose 'Run Python File', it works fine.
The environment:
MacOS Sequoia 15.3.2
Python v3.12.9
VSCode Version: 1.98.2
VSCode plugins: Pylance 2025.3.2, Python 2025.2.0, Python Debugger 2025.4.1, Vim 1.29.0
test.py:
import os
print(os.getcwd())
I am not debugging with launch.json
, so it is irrelevant. Any advice on how to get VSCode back to normal is very much appreciated.
Recently my VSCode is out of work. When I choose Python Debugger: Debug Python File
from the upper-right drop-down menu, the TERMINAL panel will show the command line of starting Python debugger like:
cd /Users/me/Projects/kiwi ; /usr/bin/env /Users/me/miniconda3/bin/python /Users/me/.vscode/extensions/ms-python.debugpy-2025.4.1-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 49633 -- /Users/me/Projects/kiwi/test.py
then it hangs there for ever. If I choose 'Run Python File', it works fine.
The environment:
MacOS Sequoia 15.3.2
Python v3.12.9
VSCode Version: 1.98.2
VSCode plugins: Pylance 2025.3.2, Python 2025.2.0, Python Debugger 2025.4.1, Vim 1.29.0
test.py:
import os
print(os.getcwd())
I am not debugging with launch.json
, so it is irrelevant. Any advice on how to get VSCode back to normal is very much appreciated.
1 Answer
Reset to default 0Since this is quite critical for me and I cannot wait for an answer how to fix it with current settings, I have to completely remove the VSCode and reinstall it, and fortunately, the new installation works fine.
I referred to this thread for complete removal of VSCode on MacOS: How to completely uninstall VS Code on mac?