/IsDebug

Check presence of DebuggableAttribute.IsJITOptimizerDisabled in your assemblies

Primary LanguageC#MIT LicenseMIT

IsDebug

Check presence of DebuggableAttribute.IsJITOptimizerDisabled in your assemblies

Why ?

Your project settings could be wrong, your build process could be broken or you can have a nuget coming from your private nuget feed, ... There are several reasons to see one or more assemblies compiled in 'Debug' on production. It's a very bad practice and this tools should help to avoid this. Quite basically, it just checks presence of DebuggableAttribute.IsJITOptimizerDisabled in your assemblies.

How to use

> isdebug [OPTIONS] PATH1 PATH2

OPTIONS :

  • -r : reccursive (default is false)
  • -d : display scan details (default is false)
  • -h : Help text