20

Is it possible to detach the console/log window in Xcode 6 to Xcode 9? If so, how do you detach it from the main console, into it's own window?

This question was previously asked for Xcode 4 but the answer doesn't work for Xcode 6 to Xcode 9 -

See the attached screenshot for illustration of the console/log view in question

enter image description here

ICL1901
  • 7,632
  • 14
  • 90
  • 138
J-Dizzle
  • 4,861
  • 4
  • 40
  • 50
  • 3
    Apple took that away from us years ago! Apple knows best. If you want window flexibility "You are doing it wrong." – zaph Sep 06 '15 at 16:55
  • 9
    I found that I could maneuver and detach the console. 1. Add new tab. 2. Name the tab (eg Debugger). In the new tab, expand the console so it fills the main window. 4. Right-click the new tab and select open in new window. You'll have to quit Xcode and restart it to maintain the new window, rather than close projects or windows separately. – ICL1901 Sep 07 '15 at 09:43
  • 1
    I can write this as an answer if it works for you. – ICL1901 Sep 07 '15 at 09:44
  • this works David, thank you!!! Please write up the answer (I'll delete my posted picture after :) ) – J-Dizzle Sep 07 '15 at 21:38
  • In addition to @DavidDelMonte's awsome solution: Xcode still keeps popping up the console in the main window when the first output appears. To avoid that, go to `Xcode / Preferences / Behaviors / Running / Generates output`. Remove a checkmark from "show debugger with current views" and add a "Show tab names in separate window". Now you can even close that window, it will open automatically. – FreeNickname Jan 12 '17 at 22:02
  • P.S. works in Xcode 8. – FreeNickname Jan 12 '17 at 22:03

3 Answers3

35

Well, better late than never....

I found that I could maneuver and detach the console.

  1. Add new tab.

  2. Name the tab (eg Debugger).

In the new tab, expand the console so it fills the main window.

  1. Right-click the new tab and select open in new window.

You'll have to quit Xcode and restart it to maintain the new window, rather than close projects or windows separately.

Apologize for the delay. Hope this is still useful..

UPDATE

  1. This still works with Xcode 11.3!
  2. To stop seperating the window : Xcode > Behaviors > Edit Behaviors

Then set as in the screenshot:

enter image description here

ICL1901
  • 7,632
  • 14
  • 90
  • 138
18

Solution without restarting Xcode. Thank @David DelMonte for illuminating me.

You can change Xcode behaviors configuration to open a new tab named Debugger in a separate window when project start running.

enter image description here

Then expand console view to full window in the debugger tab, Xcode will remember your reforms.

ooOlly
  • 1,997
  • 21
  • 31
1

This solution has worked for me in Xcode 14.2:

Under Behaviour > Running > Starts, change the following settings as in the screenshot below.

  • Show window with name 'Debugger'
  • Hide Navigator
  • Show debugger with Console view
  • Hide toolbar
  • Hide current editor

Xcode Behaviour Settings

This essentially just opens a new Xcode window and then hides everything except the console output. Hope this helps!

tim-how
  • 11
  • 2