Debug lazarus IDE Windows lazarus / 12-Debugger ---------------------------------------------------------------------- Andrey Sobol · 2020-11-06 12:57 Hi, guys. I debug Lazarus IDE and want to see debug output from debugln() But I don`t see command.com console, option "-WG" is unchecked. Where is it disabled? My OS is windows. When I do thus on test Application there is ok, I see console and output. ---------------------------------------------------------------------- PascalDragon · 2020-11-06 13:22 The Lazarus project is not used for compilation. You need to enable the {off $apptype console} in %lazdir%\ide\include\ide.inc and then rebuild the IDE. ---------------------------------------------------------------------- Andrey Sobol · 2020-11-06 14:47 Thanks ---------------------------------------------------------------------- Andrey Sobol · 2020-11-08 20:12 My goal was to make the environment for debugging on windows ide components to output debug messages to the console as linux. As was found the console was turned off for windows users a much deeper and forever Into makefile.fpc and makefile for lazarus exists such code Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i # apptype guiifneq ($(findstring $(OS_TARGET),win32 win64),)LAZARUS_OPT+= -WGBIG_IDE_OPTIONS+= -WGendif Now I remade some part of BuildProfileManager and made new profile "IDE Debug + Console" It's awesome to debugcomponents with the debug log. I think either to do patch or not for that?