{ "version": "0.2.0", "configurations": [ { "type": "cortex-debug", "request": "launch", "name": "Debug (OpenOCD)", "servertype": "openocd", "cwd": "${workspaceRoot}", "preLaunchTask": "Cargo Build (debug)", "runToMain": true, "executable": "./target/thumbv7em-none-eabihf/debug/nrf52-dk-app", "device": "NRF52832", "configFiles": [ "/usr/local/share/openocd/scripts/interface/jlink.cfg", "/usr/local/share/openocd/scripts/board/nordic_nrf52_dk.cfg" ], "swoConfig": { "enabled": true, "cpuFrequency": 8000000, "swoFrequency": 2000000, "source": "probe", "decoders": [ { "type": "console", "label": "ITM", "port": 0 } ] }, "preLaunchCommands": [ "monitor arm semihosting enable" ] } ] }