Today I was banging my head against urls and route debugging.
I found this excerpt that’s pretty cool: http://flux88.com/blog/excerpt-from-asp-net-mvc-in-action-chapter-6/
Basically you can use this to debug your routes.
I also found a short article that shows how to detect debug mode in VS. I plan on using these this to automatically switch in the handler above.
A generic list of the routes that can be fed to either the standard handler or release handler looks like a great option. And I might just have a switch to turn on and off the custom handler and skip trying to use debug mode.That way I can test the standard handlers also.