add debug arg to createIssues