Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMichael Stedman
Full Stack JavaScript Techdegree Student 13,838 PointsHow to keep the Xcode console from constantly opening?
So far in the course, we are relying heavily on the console to see our output, however, I would much rather keep the console hidden and only showing when I would like it to.
So far, there are two methods to toggle whether the console is hidden or shown: the middle button up in the top corner of the Playground, and then button on the top left of the console that is a rectangle with a triangle in it.
Using both of them, it will lower and hide the console, which leaves me more room for the coding space, but at certain points the console expands by itself.
I cannot figure out what is triggering it to do so. I thought maybe every time the playground runs, but I don't know.
Anyway, my question is is there a way that I can actually turn that console off completely, and only pull it up and run it when I want to?
1 Answer
Mosses Akizian
8,136 PointsTo hide the debugger (console):
- Click on Xcode > Behaviors > Edit Behaviors
- Scroll down the panel and click Generates Output under Playgrounds
- Select Hide debugger
Alex Wride
4,420 PointsAlex Wride
4,420 PointsI've noticed the same thing and have been unable to find a solution either. I have just been minimizing the size of the console bar to the smallest allowable size without actually closing it. Still annoying, but less in the way. Let me know if you've found an answer that isn't posted. Cheers.