Debug vs Relwithdebinfo

Dear Community!

Anyone can help me to find the following:

Where can I check the differences between debug mode and Relwithdebinfo compile?

I mean, if something working and debug, but it wont at Relwithdebinfo, where can I check what codes belongs to them?