edit turnconfig and debug log