Skip to content

Instantly share code, notes, and snippets.

@myrne
Forked from x1B/node-trace-txmt.sh
Created April 8, 2012 13:35
Show Gist options
  • Save myrne/2337352 to your computer and use it in GitHub Desktop.
Save myrne/2337352 to your computer and use it in GitHub Desktop.
Add textmate links to Node.JS stacktraces.
#! /bin/sh
sed -E -e 's_[(]?(/[^:]*/([^ ]*)):([0-9]+):([0-9]*)[)]?_[\2:\3:\4] txmt://open/?url=file://\1\&line=\3\&column=\4_g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment