Adding debug option for the app server