-d option to set debugging mode