WP_DEBUG is not helping

Hello All,
My theme is being soft rejected again and again because of Notices. I am working by making define(‘WP_DEBUG’, true); and did’nt found any warnings, notices etc. but when i submit it the reviewer sends me a list of notices which my theme is raising. Now i am still unable to find those issues on my localhost.
Please help what should i do ?

Try installing Theme Check plugin -> https://wordpress.org/plugins/theme-check/ and import theme-unit-test-data.xml that should work fine…

Yes mabuc is right, that is what the theme check plugin is for.

Maybe there is some reason that your setup isn’t throwing notices? (your server and development environment)?

Thank you themegraft. i have reconfigured my server and it is working fine now.