Debugging via Eclipse

I have gone through the steps for debugging using eclipse but encountered this error after hitting debug button in Run->Debug Configuration:

“Missing mandatory configuration. Fill-in the ‘Config options:’ field in the Debugger tab”

Any idea to resolve this issue?

It sounds like it’s trying to run an unconfigured debug session. When you try and debug for the first time, you should go to the debug drop down menu and explicitly select the Debug configuration you’ve set up. From that page, you should be able to select the openOCD GDB debug session. After that, it should just be a case of hitting the debug button to start future debug sessions.