Home » Support » Index of All Documentation » Wing IDE Reference Manual » Advanced Debugging Topics »

Debug processes normally contact Wing IDE automatically during startup. However, Wing IDE can also attach to debug processes that are already running but not yet in contact with the IDE if the process will allow it. There are two cases where this is useful:

(1) When an externally launched process (one that uses wingdbstub.py, as described in section Debugging Externally Launched Code) cannot reach the IDE at the configured host and port during initial startup, for example because the IDE is not yet running or was not configured to accept debug connections.

(2) When a process attached to the IDE is disconnected using Detach from Process in the Debug menu or the detach icon in the toolbar.

In either case, the IDE can manage any number of detached processes, allowing you to attach to any one process at a time.

« 13.1.2. Installing the Debugger CoreTable of Contents13.2.0. Access Control »

Section Contents

13.2.0. Access Control
13.2.1. Detaching
13.2.2. Attaching
13.2.3. Identifying Foreign Processes
13.2.4. Constraints

Attaching and Detaching