I tried to run a program on STM32L552ZET6Q MCU. I use STM32CubeIDE for writing programs, ST-LINK (ST-LINK GDB server) as debug probe and SWD interface.
I successfully compiled the program, but while debugging, I got the following error:
    Failed to execute MI command:
    target remote localhost:61234
    Error message from debugger back end:
    localhost:61234: Connection timed out.
    Failed to execute MI command:
    target remote localhost:61234
    Error message from debugger back end:
    localhost:61234: Connection timed out.
    localhost:61234: Connection timed out.
I tried to resolve the issue with various suggestions on the web, but I could not solve it. Please, help me with this.
 
     
    