Instead of opening console it is better to output errors on the screen for a more convinient development. Parcel and CRA already do this