Debug Environment

Index of All Documentation » Wing Pro Reference Manual » Debugger »

The Python executable that should be used for debugging, and environment like Python Path and starting directory, are specified in Project Properties in the Project menu.

Per-File Environment

In cases where different debug environments are needed for different files, use File Properties for each file to specify a Launch Configuration to use with that file.

If different debug environments are needed for different launches of the same file, set up a Named Entry Point instead.

Command Line Arguments

Command line arguments to use when debugging a file can be set using Debug Environment in the Debug menu, under the Debug tab of File Properties for the file, or by defining a Named Entry Point.

Unit Testing Environment

The environment to use for files when they are debugged as unit tests by the Testing tool is instead set under the Testing tab of Project Properties or File Properties.