Added support for debug argument