How do you debug an Angular 6 library
I'm writing an Angular 6 Library and cannot figure out how to step into the typescript. I generated the app using: ng new mylibapp I then added the library using: ng g library @abc/cool-lib -p abc when I perform: ng build @abc/cool-lib it generates the code in the mylibapp/dist/abc/cool-lib folder How can I now debug this code and set breakpoints in the ts file located at mylibapp/projects/abc/cool-lib/src/lib Looking at the Angular CLI docs on libraries , it mentions the following: Some similar setups instead add the path to the source code directly inside tsconfig. This makes seeing changes