Adding debug option