-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbetter-stack-traces.javascript.txt
21 lines (18 loc) · 1.42 KB
/
better-stack-traces.javascript.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ BETTER-STACK-TRACES ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━┛
ALTERNATIVES ==> # - stackman (prefered on Node):
# - Node and Chrome only
# - source map support
# - can be different lines of context for dependencies
# - parse ERROR.stack to object
# - tracekit (prefered on browsers):
# - Browser-only, but Node.js support can be worked out
# - parse ERROR.stack to object
# - better-stack-traces:
# - Node/Browser
# - not maintained
# - can be different lines of context for dependencies
# - directly change stack trace to include context without manual work
# - parse ERROR.stack as a string
GOAL ==> #Showing source code line (and surrounding lines of context) in a stack trace.