Nette\Environment mode test

Is console?
bool(TRUE)

Is production mode?
bool(FALSE)

Is debugging?
bool(FALSE)

Setting mode...
Is debugging?
bool(TRUE)