Unlike Spyder, where the option is supported and straightforward to find, I am unable to hide the modules from the (local and global) variable inspector in VSCode while in debug mode.
See image below as a small example of what I would like to get rid of (in red):
I am currently using VSCode 1.9.1 for Windows. My launch.json
configuration file is the following:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"env": {
"PYTHONPATH": "${workspaceFolder}:${env:PYTHONPATH}",
}
}
]
}
Importantly, I want to keep the setting "justMyCode": false
as it is.
1