Prevent NullPointerException when setting debug mode while launching