Added facility to use GPIO pins for fast debugging. (#8809)