/*!
 * Debug code wich applies if the compass env is set to 'development'
 *
 * @package #{ext_directory()}
 * @path Generic/_Debug.scss
 */


/* =============================================================================
$ Environment banner
================================================================================ */
body {
  @if compass-env() == 'development' {
    &::before {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 99999;
      padding: 5px 10px;
      content: 'Development';
      border: 2px solid #000;
      background: red;
      text-transform: uppercase;
      color: #000;
      font-weight: $bold;
      font-size: 10px;
    }
  }
}
@if compass-env() == 'development' {
/*!
 * Debug code wich applies if the compass env is set to 'development'
 *
 * @package #{ext_directory()}
 * @path Generic/_Debug.scss
 */


/* =============================================================================
$ Environment banner
================================================================================ */
body::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 99999;
  padding: 5px 10px;
  content: 'Development';
  border: 2px solid #000;
  background: red;
  text-transform: uppercase;
  color: #000;
  font-weight: $bold;
  font-size: 10px;
}

} // endif
Make sure the whole debug file only compiles depending on the compass env
[TASK] Make sure the whole debug file only compiles depending on the compass env
