Debugging TypeScript Under DotNetNuke
I also had the added wrinkle that all of my development lately is for DotNetNuke, which has the ClientDependency module wired into it. Since the map file that gets created knows nothing about this, we have to disable ClientDependency. Easy, you say, just take it out of the web.config file. Oh that it were that easy.
You see, like I said, it is WIRED into DotNetNuke. But all we really need to do is turn off the combining in host settings and then write a URL Rewrite rule in IIS that has the following search and replace. (I’m assuming by now you know about the IIS7 Rewrite module.)
Regex Search rule: (.+)\?cdv=\d+
This will make DotNetNuke go after the original source files instead of adding the CDV=versionNumber stuff at the end of the filename.
Hope this saves someone a few hours of searching.
Other places talking about typescript debugging:
Links to related resources
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)