You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Starting debug only launches the activation of the conda environment but not the script #2862
I simply launch VScode, and from there start my debug task. I've run a few debug task earlier today and it worked fine, but after updating to the latest python extension (I guess this is when it started), then I get this in the output window :
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\omartin\xy> & cmd /k "C:\Users\omartin\Anaconda3\Scripts\activate az-ml-sdk-batch-ai & powershell"
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
instead of the launch of the script.
Extension version: 2018.9.0
VS Code version: Code 1.28.0 (431ef9da3cf88a7e164f9d33bf62695e07c6c2a9, 2018-10-05T14:58:53.203Z)
OS version: Windows_NT x64 10.0.17134
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
Activity
AlexandreOuellet commentedon Oct 11, 2018
I too am experiencing exactly this (Same version of vscode and vscode-python extension).
I am able to debug by exiting the terminal twice, but that is highly inconvenient.
q3ccn commentedon Oct 11, 2018
AlexandreOuellet commentedon Oct 11, 2018
DonJayamanne commentedon Oct 11, 2018
DonJayamanne commentedon Oct 11, 2018
DonJayamanne commentedon Oct 11, 2018
As a temporary work around, please disable the following setting in your user settings.json file:
"python.terminal.activateEnvironment": falseDonJayamanne commentedon Oct 11, 2018
Solution:
AlexandreOuellet commentedon Oct 11, 2018
workaround : You can install the older extension version. You can download the vsix here : https://github.com/Microsoft/vscode-python/releases/tag/2018.8.0Make sure you disabled autoUpdate for extensions though
Edit: DonJayamanne's solution is working, no need to use my workaround
brettcannon commentedon Oct 16, 2018
Duplicate of #2732