add debug system