search

Home  >  Q&A  >  body text

angular.js - Developing Angular2 with Typescript, how to debug in the browser

Before, the code was written in js. Before compression, it can be easily debugged in the browser. Now I switch to Typescript to develop Angular2. How to DEBUG in the browser

大家讲道理大家讲道理2840 days ago849

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-15 17:08:49

    Just turn on the sourceMap option in tsconfig or webpack.config

    reply
    0
  • Cancelreply