Created
April 14, 2011 09:30
-
-
Save x1B/919193 to your computer and use it in GitHub Desktop.
Add file:// links to Node.JS stack traces.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
sed -E -e 's_[(]?(/[^:]*/([^ ]*)):([0-9]+):([0-9]*)[)]?_[\2:\3:\4] file://\1_g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adds URLs to Node.JS stacktraces to open file with default App (on Mac OS X). Does not allow to jump to line/column.