I found a solution. As I upgraded from an old version of Angular I was missing the sourceMap field in in my build options. Upon adding it and setting it to false it has started showing the file and line number reference in the console in developer tools!
1 Like