fix: can't debug model plugins (#38500)