Selecting JTAG or SWD debug protocol in PSoC Creator

Question: How do I select JTAG or SWD (Serial Wire Debug) debug protocol in PSoC creator?



The debug port is selected using system editor tab in the design wide resource file.  It sets the debugging interface that the chip expects to use upon power up. The system editor screen shot showing debug port selection is given below.