Arduino due Use "ST LINK" Debugging Fails

You can try fixes from Help with PIO Debugger using Atmel ICE and Arduino Due - #27 by maxgerhardt. Point it at your openocd installation within PlatformIO but use interface/stlink.cfg instead.