Configure debugging
Edit on GitHubSecurity
Once debugging is completed, turn off debugging mode. Leaving it permanently enabled can lead to the disclosure of sensitive information.
Currently, Xdebug is not supported, but you can enable extended logs in the deploy file to debug an application. Extended logs provide extra information about application state and behavior.
To enable extended logs:
- Edit
deploy.*.yml
of the desired environment:
docker:
debug:
enabled: true
- Depending on the
environment
value ofdeploy.*.yml
, edit the respectiveconfig_default.php
:
$config[LogConstants::LOG_LEVEL] = getenv('SPRYKER_DEBUG_ENABLED') ? Logger::INFO : Logger::DEBUG;
- Commit the changes and deploy the application in the desired environment:
Extended logs are enabled and you can check them in the AWS Management Console. See Working with logs for more details.
Next step
Thank you!
For submitting the form