Typescript works perfectly. Except I can't get it to work with sourcemaps. The sourcemaps do get created (I did manually add the --sourcemap argument to tsc background task though), but it doesn't seem like my breakpoints get hit.
Can anyone get them to work? This would be soooooo wonderfull!
(Btw, just how GREAT is contextual help in webstorm? bringing up out of date extensions, showing how to setup typescript. I had the whole thing working in five minutes! THIS is the way to make software!).
Certainly. Here are the project files. I tried clearing the cache in chrome to no avail. I included a screenshot below of the elements that are in the resources. I notice the sourcemap files aren't in there. Should the .map files be in there?
It may be worth mentionning that I'm not serving files through a server but rather directly (ie: the link in chrome show this: file:///C:/Users/win7/WebstormProjects/TestV6/index.html). Could that be the source of the problem?
I noticed that when loading the source directly from the file system, chrome will load static files via XHR only once, and serve the same contents on subsequent XHR requests to the same file. Not absolutely sure about the behavior for non-XHR load requests.
So you might be right that your problems with source maps are related to loading your document from the file system. Why you don't see what happens if you load it via a web server?