First time here? Check out the FAQ!

Does anyone know how to get Wing to run its debug process in an iTerm2 window on Mac OS?

I tried to follow the advice in Wing's documentation at…, but I have't so far been able to create a working recipe. Since I started to work with textual this has become more important, since it has a fairly intimate relationship with the terminal as a TUI, and a debug console window full of escape codes helps not at all.

Separately, the Forum link format [...](link) seems to be evaporating the links, even though they show up in preview, unless I'm just making some silly mistake.

Steve Holden's avatar
Steve Holden
asked 2024-05-04 10:26:35 -0500
Wingware Support's avatar
Wingware Support
updated 2024-05-05 01:16:45 -0500
edit flag offensive 0 remove flag close merge delete


I think a shell / Python script similar to the one used for the default macOS Terminal app is needed. Wing wants to launch a new process that will display the terminal and run a command line in it. The script for the default macOS Terminal app is Contents/Resources/resources/osx/run-in-terminal.applescript within the Wing app bundle. You can add new scripts via the External Consoles preference on the Debugger > I/O page of Wing's Preferences dialog.

Wingware Support's avatar Wingware Support (2024-05-06 16:20:21 -0500) edit
add a comment see more comments

1 Answer


:-D In fact I didn't find even the macOS Terminal installable from my own knowledge, so rather than keep bothering people I decided instead simply to run the programs in an external window and have them call into Wing for debugging. That's working beautifully.

updated 2024-05-07 11:14:42 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
edit flag offensive 0 remove flag delete link


The macOS Terminal should work out of the box by selecting the option to use an external console in preference.

Wingware Support's avatar Wingware Support (2024-05-07 17:04:48 -0500) edit

Thanks for your reply. I'm sure it would work perfectly well, but unfortunately during my incautious stabbings around I appear to have erased it, and I'm loathe to reset everything to factory to get it back - is there a more selective way, please, that my imagination has failed to conjure up?

Steve Holden's avatar Steve Holden (2024-05-08 03:06:11 -0500) edit

Looks like the default command line for this for the Debugger > I/O > External Consoles preference is:


Wingware Support's avatar Wingware Support (2024-05-08 05:03:02 -0500) edit

Thanks - that does indeed work!

Steve Holden's avatar Steve Holden (2024-05-08 05:36:24 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer