How to show debug console on screen (Unity 4)


In the Unity 4 changelog, they mention this:
“Added a new development console to show error messages on screen in development player builds.”

How can I activate this?
Specifically I am building to iOS simulator/device.

Click on the “development build” checkbox in the build settings.

my console window not dispay, its mean disable ,how can i enable console window

Fortunately it’s now very easy to do this in any build, just use

void OnEnable() { Application.logMessageReceived += Log;  }
void OnDisable() { Application.logMessageReceived -= Log; }

you can easily write the text to any UI box on screen as you wish.