`justMyCode` not working when used in VSCode settings
See original GitHub issueEnvironment data
- VS Code version: 1.55.2
- OS and version: Mac Os 11.2.3
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.9
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): Docker
- Value of the
python.languageServersetting: ms-python.python
Expected behaviour
When specifying the following configuration object directly in the VSCode settings’ .launch.configurations, justMyCode should just work (just like when it is added in the context of the classic launch.json file):
{
"args": [
"runserver",
"localhost:8001"
],
"console": "internalConsole",
"django": true,
"justMyCode": false,
"name": "Django",
"program": "${workspaceFolder}/manage.py",
"request": "launch",
"type": "python"
}
Actual behaviour
justMyCode is completely ignored.
Steps to reproduce:
- Add the above snippet to the settings’
.launch.configurations - Open a dockerized Python project and add a breakpoint inside a third-party package.
- Try to step into the package code.
- Ascertain that the effort is unsuccessful.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
"justMyCode" does not enable standard library debugging
vscode ; Create simple test file as seen above. Set breakpoint on line; Use Debug Test option right above test method to run...
Read more >Property justMyCode is not allowed (trying to debug python ...
First, I tried using the python debugger, and put in some breakpoints. But then when I ran the program, it wouldn't stop at...
Read more >"Just My Code" not working for TypeScript/JavaScript Debugging
After playing with settings for a bit, I found I could get the debugger to break by checking all options under “JavaScript (Chrome)...
Read more >How to Make the Most of Your Python Debugger in VSCode
To enable debugging non-user-written code, set justMyCode to False inside the configurations described in launch.json . launch.json. Now try restarting the ...
Read more >Debug user code with Just My Code - Visual Studio (Windows)
To enable or disable Just My Code in Visual Studio, under Tools > Options (or Debug > Options) > Debugging > General, select...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just chiming in again to say I don’t seem to have this problem with Pylance.
Closing since this is happening with MPLS and not with Pylance, and that our team’s development efforts have shifted to support the the latter.