[*]Python virtual environment (venv) in VS Code project dir
[*]'Python', 'Python Debugger' and 'Pylance' extensions from Microsoft
Issue:
Apple uses spaces in the path to the project dir on iCloud Drive (das auch mein Venv enthält). Die von VS Code verwendete Befehlszeile, um die Debug -Sitzung zu starten, entgeht einigen Räumen, aber nicht allen von ihnen (siehe Konsolenausgabe unten für entflohene und nicht geflockene Räume). Wahrscheinlich einige Änderungen an die Start.json (auch neu im VS -Code)?
Code: Select all
cd /Users/tom/Library/Mobile\ Documents/com~apple~CloudDocs/Projects/Programming/finape ; /usr/bin/env /Users/tom/Library/Mobile Documents/com~apple~CloudDocs/Projects/Programming/finape/.venv/bin/python /Users/tom/.vscode/extensions/ms-python.debugpy-2025.4.1-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 53584 -- /Users/tom/Library/Mobile Documents/com~apple~CloudDocs/Projects/Programming/finape/.vscode/launch.json --tui --db_file test.ticker_db
Konsolenausgabe (Antwort auf CMD -Zeile):
Code: Select all
env: /Users/tom/Library/Mobile: No such file or directory