Reputation: 5121
I have just issued the ng new exampleProject
command. When an error appears in the console, the stacktrace shows only .js
files: not the .ts
files. How can I change this?
Here is an example of such an error:
Upvotes: 1
Views: 1714
Reputation: 51
console.trace()
The above code helps to get the complete trace of where the error has occurred in angular including the line number, component name and the function name.
Upvotes: 3