title: Debugging Ionic 2 app using Typescript - source map file not seen by VS 2015 debugger as well as Safari Mac browser
body: <p>I think the picture 1 below will explain the best the issue I am facing</p>
  
  <p>I created Ionic2 app on my Windows 10 PC with this command:
  ionic start -a "myapp" -i com.mycomp.myapp --v2  sidemenu</p>
  
  <p>I then imported it in Visual Studio 2015 with TACO installed.
  I added ios platform and attached my iPad 2 air to my mac connected to wifi.
  In tsconfig.json I added "sourceMap": true to enable .ts debugging.</p>
  
  <p>Picture 1:
  <a href="https://i.stack.imgur.com/dGdeM.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/dGdeM.jpg" alt="Picture 1"></a></p>
  
  <p>I am not sure how to see network trafic when using VS 2015 (I could not fine any tab showing it) so in the second picture you can see the results of Safari web inspector page that shows loaded .html, .css and .js files.</p>
  
  <p>I believe that I should see some file(s) with .js.map extension that from my earlier experienfe Chrome browser uses to enable .ts debugging. 
  Is this my problem. How to get it to appear? In the first picture you can see that main.js.map was built, but  </p>
  
  <p>Picture 2 shows Web Inspector view of IPad Index.html from my app deployed and running. Network tab opened. You can see no main.js.map is served.
  <a href="https://i.stack.imgur.com/lM3AF.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/lM3AF.jpg" alt="enter image description here"></a></p>
  
  <p>Picture 3 shows Web Inspecto, Resources tab. YOu can see that under main.js there is page2.ts (I guess ready to connect to main.js.map IF IT IS SERVED SOMEHOW.
  <a href="https://i.stack.imgur.com/VMlof.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/VMlof.jpg" alt="enter image description here"></a></p>
  
  <p>And finally Picture 4 show Ipa Payload content unzipped that shows the presence of main.js.map. So it is deployed but how can VS 2015 see it in debugging mode.
  Also Safari could not break into page2.ts obviously because it also couldn't obtain main.js.map file
  <a href="https://i.stack.imgur.com/0CeGz.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/0CeGz.jpg" alt="enter image description here"></a></p>
  
  <p>Let me know If you see something wrong and explain how is .map file loaded by a debugging engine like VS 2015 and Chrome and Safari browsers?</p>
  
  <p>Thanks,
  Rad</p>