I'm working to port a custom software.

bitbake complain about :

NOTE: Checking Package: fcgi
ERROR: QA Issue: non debug package contains .debug directory: fcgi path /work/armv7a-vfp-neon-poky-linux-gnueabi/fcgi-0.25-r0/packages-split/fcgi/usr/bin/.debug/fast.fcgi
ERROR: QA run found fatal errors. Please consider fixing them.

In my recipe I added :
FILES_${PN}-dbg += "${WORKDIR}/trunk/Debug"
FILES_${PN}-dbg += "${WORKDIR}/trunk/Debug/*"

I also tried :
FILES_${PN}-dbg += "${D}/usr/bin/.debug"
FILES_${PN}-dbg += "${D}/usr/bin/.debug/*"

no luck for now. I tried few other things and I don't understand how to do that.

Any help would be highly appreciated!

Thank you