Added support for debug outputs