Remove redundant call to set debug flags