karma-runner/karma

Provide IDE source-map support for clickable links.

Open

#1,333 建立於 2015年3月5日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (11,918 star) (1,703 fork)batch import
help wantedtype: backlogtype: feature

描述

@vojtajina got this issue started with the Intellij folks, and after further discussion I think they are willing to make it a reality. The goal is providing clickable links that will correctly handle Karma's source-map stack trace output.

Initially, I believe all it will require is supplying them with a formal definition of the output, and how to correctly locate files (See my comments in the above youtrack issue - a core karma contributor should make sure I'm not giving bad advice).

We also floated the idea of providing an http download of every intermediate step in the transform chain, so that every portion is clickable. i.e. with: final file <- transform1 <- transform2 <- original file, have each item separated by <- be clickable, with karma serving up the contents at each intermediate state. This would be pretty helpful understanding/debugging what various preprocessors have done to your files.

貢獻者指南