tjanczuk/iisnode — Issue #145: IISNode cannot debug express application with URL Rewriting
Author: pmwilliamson
Created: 2012-02-27 15:11:53+00:00
State: open

When using rewrite rules with an express application, /debug is always seen as part of the URL and returns an error not being able to locate “[viewname]/debug”.

Following instructions to setup express under IISNode from http://tomasz.janczuk.org/2011/08/hosting-express-nodejs-applications-in.html

And also using the tidbit from comments about how to allow debugging :

From http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html

However, adding the above rule above the rewrite still does not work. Unable to find any other documentation to point out if I have something setup wrong.

Here is a sample URL and my web.config for reference:

http://localhost/iisnode/Project1/server/myview/debug

Note: Just hitting http://localhost/iisnode/Project1/server/myview works as expected.