Using the environment switch for showing console.log's