Add debug flags for debug mode