Fixed MWM DebugConfig to use getters
Resolved comments in https://reviews.apache.org/r/25971/