Repository navigation
Environment gets activated after debugger starts (hence debugging with conda envs fail) #5559
Description
Activity
- ghost addedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on May 5, 2019 Can you please be more clear here. I am not sure I understand the issue here.
Terminal stays open so I can click again the play icon and it works
- ... what works?
- Please provide file content, complete exact terminal display (for eg. what does
[...]represent incd ...) and clarify the steps to reproduce.
- addedinfo-neededIssue requires more information from posterIssue requires more information from poster
on May 14, 2019 - ghost removedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on May 14, 2019 - ghost removedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on May 14, 2019 - ... debugger?
- Use Debug Python: Current File...
Please fill the issue template and provide the requested information. The issue is not clear.
No, thanks.
Closing this as sufficient clarification info was not provided.
- ghost removedinfo-neededIssue requires more information from posterIssue requires more information from poster
on May 15, 2019 21 remaining items
Solution identified in microsoft/vscode#67692 could fix this.Updated Solution - Use
conda run.Don Jayamanne (@DonJayamanne) Can you clarify your proposed solution of
conda run? Are you proposing a modified launch configuration? Could you provide an example?Reacted by AlexH415Bryce Schober (@bryceschober) this isn't a change to the launch configuration. Instead of running user code using
<python executable> <user code>we'll be usingconda run <env name> python <user code>.- changed the title
[-]Environment is activated after debugger fails[/-][+]Environment gets activated after debugger starts (hence debugging with conda envs fail)[/+]on Aug 15, 2019 I seem to have this problem too. I don't understand what is meant by "Instead of running user code using we'll be using conda run python .". Is this a fix I can apply myself now? If so, how do I do it please?
Don Jayamanne (@DonJayamanne) You mean this
conda runsolution will be updated soon?That is the plan.
Reacted by Damdae ParkClosing in favour of #10626
- locked as resolved and limited conversation to collaborators
on Apr 17, 2020
Environment data
Issue
Use Debug Python: Current File...
Terminal stays open so I can click again the play icon and it works because
conda activate baseactivated Python environment just AFTER the debugger FAILED to start.Thank you.