move debug parameter into class property