we get stack trace when an error occurs in the execution, like in the following picture .
I would like to see this tracing at the bottom of the page every time I executes a page. ( even without errors) so that I can find out what are the pages ran and what is happening inside the framework
How can I activate this ?
Thank you very much
A “stack trace” doesn’t make much sense outside of an error scenario, but you can see what Yii is up to by enabling the debug mode. In your index.php add
and in the
logcomponent of your main Yii configuration array (config/main.php), add this array under theroutescomponent:This should show you what you want.
Make sure to remove the
YII_DEBUGline from your production code!