I am going to debug the variables in controller files.
But I couldn't figure out how I can debug it and show the values into front-end site or in log files.
Do you have any ideas about this?
What is your debug mode which you often use when you work in a controller?