-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
justMycode = false does not work #795
Comments
The "not supported in this environment" issue seems to be a dupe of microsoft/vscode-python#17952. Per that issue, it is already fixed in VSCode Insiders - can you please try that? |
Hi Pavel,
After updating the insider version, that has been resolved.
Thanks,
Bin
…On Tue, Nov 30, 2021 at 2:27 PM Pavel Minaev ***@***.***> wrote:
The "not supported in this environment" issue seems to be a dupe of
microsoft/vscode-python#17952
<microsoft/vscode-python#17952>. Per that
issue, it is already fixed in VSCode Insiders - can you please try that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#795 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIPITN5SRPJ6JDQLUTW5DUOVFU3ANCNFSM5I7XANSA>
.
|
Recently, even I faced this issue where the VS code was not taking the latest launch.json (one with 'justMycode: false'). So, I had to perform the following steps.
You can click on launch.json here to edit the configuration file and now the debugger opens with the selected launch.json and 'justtMycode:false' setting will be applied. |
thanks! 1.85.1 has this problem and find nothong helpful solution util see your comments. |
it works for me,thank you guys so much. |
I am experiencing the same issue with vscode python extension now and none of the solutions above is working.... |
VS Code version
1.62.3
Extension version
2021.11.1422169775
OS type
Windows
OS version
Windows_NT x64 10.0.19043
Python distribution
Anaconda
Python version
3.6.4
Language server
Pylance
Expected behaviour
This is an issue that initially posted to vscode but was asked to post in this forum (vscode - python).
I have been trying to change the justMycode from default "true" to "false", to debug into pytorch package but with no luck.
I have added the following code in the configurations( the second parenthesis is the newly added, the 1st one was by default). It did not work on 1.59 nor the most updated 1.62. What have gotten worse was the "python" after "type" in the configuration was not recognized anymore after upgrading from 1.59 to 1.62. The error was about "Configured debug type 'python' is installed but not supported in this environment."
PS: the code I used in the configuration was followed in this link https://code.visualstudio.com/docs/python/testing#_debug-tests
Please let me know if you could point me to the right direction and resolve the issue. Thank you in advance.
Actual behaviour
When debugging the code, I should be able to step into the Pytorch library if I set "JustMyCode" to false. Please refer to expected behavior for more details
Steps to reproduce
Please see expected behavior for more detail.
Basically I was just changing the lauch.json file as below, which should turn off the "JustMyCode" function but it did not.
Logs
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: