Yes, please just forget about the SWD - it won't be useful for what you want to do at all.
It'd be a good idea to try connecting from some other device and see if that can keep a connection - a phone maybe?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, please just forget about the SWD - it won't be useful for what you want to do at all.
It'd be a good idea to try connecting from some other device and see if that can keep a connection - a phone maybe?