Debug switch