Serial Wire Debug (SWD) debug interface can be used for controlling GPIO pins if the functionality needs to be verified without firmware control. This section shows examples of testing the functionality of the GPIO pins in the input and output modes.
For more information on the GPIO pin control, see GPIO - General purpose input/output in nRF9160 Product Specification.