add debug panel