karma-runner / karma-runner/karma

Provide IDE source-map support for clickable links.

Open
#1,333 1 comment 0 reactions 0 assignees View on GitHub
help wanted type: backlog type: feature
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

@vojtajina got [this issue](https://youtrack.jetbrains.com/issue/WEB-14105) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.