adds debug view