Adding debug context creation flag