When trying to debug your project you might run into the following error
Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end: (193)
To fix this error open Debug configurations and make sure the file below GDB OpenOCD Debugging is selected rather than the binary program file under C/C++ Application.