Set DEBUG mode both on global and project level