Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
var EventEmitter = require('events').EventEmitter; | |
var e = new EventEmitter(); | |
e.on('something', function() { | |
throw new Error('anonymous function crash'); | |
}); | |
e.on('something_else', function foo() { | |
throw new Error('named function crash'); | |
}); |