Since this morning, my Visual Studio Code (on Macbook Pro, M1-chip) rather brusquely started behaving differently.
If I now run code from a Python script line by line in the Python terminal (see attached gif):
- a new terminal window opens. In this terminal Visual Studio Code correctly launches my preferred Python (3.10.9 (conda)) distribution.
- Yet, it then quickly breaks this terminal process and opens a new one. In this second instance, Python is not launched, but the Python commands are sent to this new terminal, which self-evidently produces an error.
- Then, if I launch Python in my second terminal manually, I can continue with the script.
Why does this happen? And what can I do to get it back to how it always has been? Just one terminal that opens...
For what it's worth, I am sharing here my terminal.integrated.profile.osx
{
"terminal.integrated.inheritEnv": false,
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.automationProfile.osx": {},
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": [
"-l"
],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"fish": {
"path": "fish",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
}
}
Hope you can help me out