On future revisions of the nRF52840 Dongle, and on future development hardware of a similar form factor, I'd recommend putting a debug connector that's compatible with the Raspberry Pi 3-pin Debug Connector Specification (https://datasheets.raspberrypi.com/debug/debug-connector-specification.pdf), instead of the existing pair of castellated edge holes.