In my case, I get it to run by setting --> menu Run.Debug Configurations. Debugger:1) connect to remote GDB Server Port Number change to not 61234 --> 61238, (while still chose Autostart local GDB server, Connect to remote GDB Server is not chosen, ...
I have the same problem with Nucleo-WL55JC1 -- :( ;(... first I try with the latest version of cubeIde and I tried with older version.. got the same error.. Please Help.. :).. it's been a year is there any solution to this?