added support for debug mode on openshift