With PyCharm it is possible to select a piece of code and evaluate directly, without the need to click. That is, just select the piece of code and press the key combination to display the debugger with the variable included and its value. Is it possible to do this in VSCode? I see that if I click ctrl+may+Y open the debuger console, but the variable is not setted.
Go to:
File -> Preferences -> Keyboard Shortcuts
Search for
Evaluate in Debug Console
double click on it.
I tested it for example with Ctrl+Insert
Worked as of August 2020, tested on a Ubuntu 18.04 system
add to setting.json
"lldb.consoleMode": "evaluate",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With