Added the debug mode support for php clips.