debug view updated to render parameters correctly with the new router