Photon debugging with programmer shield on Workbench

When I run gdb from cmd I get this error:
image

and gdb shows:
image

I found another thread where a user had the same issue but there was no solution to the problem: Firmware debugging breaks with SIGINT - Photon Programmer Shield