I’m debugging remotely. The remote pc is running openocd and has an st-link probe connected to the board. My host pc is running VisualGDB. The remote debugging works, except VisualGDB also expects an st-link probe to be attached locally.
Is there a way of telling VisualGDB that it should not start openocd locally and connect to the st-link. A redacted screenshot is attached.
The regular OpenOCD GUI is indeed optimized for running OpenOCD locally – it can automatically find the supported JTAG/SWD probes, install drivers, locate device scripts, etc.
If you would like to run OpenOCD remotely, please try selecting the “Full-custom” debug method instead of OpenOCD. It allows specifying arbitrary target connection commands, and will not attempt to do anything beyond what is explicitly configured.