title: Debug typescript source file in ionic 2 with visual studio 2015
body: <p>I am in the process on selecting suitable cross-platform development tools for my next mobile project (react-native or ionic 2). I like ionic because of its out-of-the-box use of typescript. I have setup a simple project following basic tutorial and I am able to launch the application via the Ripple emulator. </p>
  
  <p>Now I am asking: is it possible to hit breakpoints in the typescript files?</p>
  
  <p>So far I have been unsuccessful. There is a app.bundle.js (and a corresponding sourcemap) generated after compilation and placed in the .www/build/js folder.
  I added this line in my <code>tsconfig.json</code>:</p>
  
  <pre><code>"sourceMap": true
  </code></pre>
  
  <p>When I place a breakpoint in the <strong>app.ts</strong> for example, it is not hit. </p>
  
  <p>How is debugging done? through Chrome browser dev tools or directly from within visual studio? Most of the solutions I have found apply to Visual Studio Code. I am using Visual Studio 2015 Enterprise edition</p>
  
  <p>Thanks in advance for any help, suggestion and direction</p>