Added debug option to display logs.
2.3.0