

If this setting is missing, then no additional environment variables are set.

The setting “env”, can be used to set custom environment variables for the debugger process. This is because the output from the program will be displayed on the console window, and there’s no need for this information to be duplicated on the debugger output window. If the setting externalConsole is enabled, then the suggestion would be to remove the setting “RedirectOutput” from this list. If this setting is missing, then all output from the program (such as those generated by Print commands) will not be displayed in the debugger output window. The setting “RedirectOutput”, will cause the debugger to print all output from the program into the VSCode debugger output window. This defaults to the workspace root (project directory). This directory can be used to control (specify) the current directory of the python program being debugged.

"console": "externalTerminal": An external terminal will be usedįor further details on debugging terminal (console) apps, go here."console": "integratedTerminal": The integrated terminal will be used.If a terminal (console window) is to be displayed whilst debugging, then use one of the following settings: By default this is turned off (with a value of "none"). This setting controls the display of a terminal (console window) for debugging. The default value of this setting is true. If this is not desired, then change the value from true to false. The setting "stopOnEntry":true will cause the debugger to break at the first line of the python program being debugged. Initialize this setting with the arguments to be passed to the python program.

