distinguish pin use from debug mode