Add debugger
Correct edit route and view