Search code examples
google-chrome-devtoolstypescript1.8

Google Chrome Canary Version 54.0.2830.0 not loading Type script source


I am using Google Chrome canary Version 54.0.2830.0. Typescript files are there but those are not loading the code to debug.

enter image description here


Solution

  • Posting an answer here so that it may help others. I was using visual studio Web API project and project settings were not allowing client the access to static files. Due to which chrome was unable to load the Typescript files and map files. To solve this, i had to add the following line in my web.config file to allow state contents.

    <system.webServer>
        <staticContent>
          <mimeMap fileExtension=".ts" mimeType="application/x-typescript" />
        </staticContent>
    </system.webServer>