This is very easy to do in Cycles, just have to click on the camera checkbox.
I cant figure out how to do this in EEVEE.
Any help would be appreciated.
EEVEE now supports some Light Paths but not all seems to be supported yet, or in working order.
Until then, use this workaround.