-
Download OpenOCD.
-
Place the folder in
~/openocd
- so that thescripts
is directly under~/openocd/scripts
. -
Add it to your PATH via:
ln -s ~/openocd/bin/openocd /usr/local/bin/openocd
-
Make sure no applications are bound to port 3333.
-
Place
launch.json
andtasks.json
in your.vscode
folder.
Note: Set the right path in debugServerArgs
.