AngularJS - Stack trace ignoring source map

后端 未结 6 1729
悲&欢浪女
悲&欢浪女 2020-12-13 18:46

I\'ve written an AngularJS app but it\'s proving a bit of a nightmare to debug. I\'m using Grunt + uglify to concatenate and minify my application code. It also creates a so

6条回答
  •  我在风中等你
    2020-12-13 19:20

    I just had the same issue and have been hunting around for a solution - apparently it's a Chrome issue with stack traces in general and happens to apply to Angular because it uses stack traces in error reporting. See:

    Will the source mapping in Google Chrome push to Error.stack

提交回复
热议问题