Hi,
I'm not sure, do you mean you want to debug the Core? For that you have to specify the entry module, but your gateway is not the entry, your front is. Im I reading your question right ?
This is a bug in OS, when you want to choose the entry module from the dropdown, it will only let you select other modules that have a direct dependency on the module you want to debug.
The trick is to add at least one dependency to core in front. You don't have to use it, just add it. I like to use something like a dummy structure for this, so it is clear that there is no real dependency, only intended for debug.
Good luck,
Dorine
EDIT : ah, too late, so yes, exactly as Assif tiger is saying