I believe I saw this done in a few plugins before, but it has been awhile and I have no clue what plugins offered this or how they offered it, but what I am trying to achieve is this…
I want offer a developer mode for my custom theme I’m creating.
I am running a function that if enabled will load the prettified files instead of the minified files for developers. But, I also want to load the prettified files if WP_DEBUG is enabled.
Is there a way I can check if a user has WP_DEBUG enabled?