Attaching and Detaching

Index of All Documentation » Wing Pro Reference Manual » Advanced Debugging Topics »

Debug processes normally contact Wing automatically during startup. However, Wing 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, 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.

Section Contents