I am developing WordPress theme with lot of custom code. I am having hard time debugging as I don't know how to print/log messages in order to see them on the standard output i.e. terminal.
WordPress engine is running on OpenShift platform where I connect and look at standard output messages.