title: How to debug library in angular 6?
body: <p>Recently I have started working on angular 6 library. So i have less knowledge of this new library feature. </p>
  
  <p>I want to debug the library application when it is used inside the test application. I generally do debugging in chrome. 
  When i build the library using command </p>
  
  <blockquote>
    <p>ng build lib-name</p>
  </blockquote>
  
  <p>It creates the map file along with the js files in the dist folder. But when i run the test application which is using this library, i am not able to see the .ts files of the library which makes my debugging difficult as debugging in compiled js version is not easy. Please share your thoughts if you figure out how we can debug the library ts file in test application. Thanks in advance.</p>