How can I open console? lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2015-02-08 11:27 I have standard GUI application. I need to open console for debug. It is possible? ---------------------------------------------------------------------- Bart · 2015-02-08 11:55 On Windows uncheck "Win32 gui application (-WG)" in Project Options -> Compiler options -> Config and target. On Linux use View -> Debug windows -> Debug output to get a pseudotermial when running in IDE. When running from console, all writeln, debugln etc will show on the console. Bart ---------------------------------------------------------------------- Milsa · 2015-02-08 12:11 Thank you. I have Windows. It is possible to determine, that console is opened from project? Is any DEFINE defined? ---------------------------------------------------------------------- Leledumbo · 2015-02-08 17:00 Quote from: Milsa on February 08, 2015, 01:11:53 pmThank you. I have Windows. It is possible to determine, that console is opened from project? Is any DEFINE defined? http://www.freepascal.org/docs-html/rtl/system/isconsole.html ---------------------------------------------------------------------- Milsa · 2015-02-08 21:42 Thank you all.