Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/ARM/CMSDK_CM3/SCC/CFG_REG5#0x0
Debug: 0 = Serial Wire Debug 1 = JTAG
https://github.com/cmsis-svd/cmsis-svd-data