System Workbench for STM32

openocd not running when using script

Yes, local script is buggy, what you can do is to move your local cfg file to another directory (not in the project dir) and reselect it by browse button in debug config.

Or use the manual spec as you did but override the reset config with “Openocd options” field (field is above the use local script or manual spec) set to : -c “reset_config srst_only srst_nogate”