New debug system fully implemented