Resource.isDebug

Returns true if debug is activated for the resource.

returns boolean