How can I activate debug in generated code

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
sagmag
User
Posts: 182

How can I activate debug in generated code

Post by sagmag »

I don't want to go back in phpmaker just to activate debug and regenerate the whole application for that, I would like to know if there is a way I can activate it from generated code to move fast.


mobhar
User
Posts: 11747

Post by mobhar »

Just change this code in the generated "ewcfg*.php" file:
define(PROJECT_NAMESPACE . "DEBUG_ENABLED", FALSE); // TRUE to debug

to:
define(PROJECT_NAMESPACE . "DEBUG_ENABLED", TRUE); // TRUE to debug


sagmag
User
Posts: 182

Post by sagmag »

Thanks.


Post Reply