...
- create "\InPortal\Core\kernel\Console\ConsoleApplication::getDefaultInputDefinition" method, that will:
- call parent method to get default input definition
- append 'debug' option without parameters to it
- return the result
- in the "tools/cron.php" and "tools/run_event.php" script forward "--debug" option (if any) to executed "/in-portal" script