$ npm install
$ ./server.js --abort-on-uncaught-exception
Preferably from a couple machines:
$ while [[ true ]]; do curl https://[ip]:1919/r; sleep 1; done
$ tail -f /var/tmp/demo.log
$ tail -1 /var/tmp/demo.log | json
$ tail -f /var/tmp/demo.log | bunyan
$ sudo bunyan -p '*' -l debug
$ sudo bunyan -p '*' -l debug -c 'this.params !== undefined'
$ sudo bunyan -p '*' -l debug -c 'this.remoteAddress === "127.0.0.1"'
$ sudo bunyan -p '*' -l error
$ curl https://localhost:1919/error
$ json -ga -f /var/tmp/demo.log -C "this._audit === true" remoteAddress | sort | uniq -c
$ curl https://localhost:1919/crash
$ mdb core
> ::load v8
> ::jsstack -v
#After finding the arg1
> b4717cf5::jsprint params
> ::findjsobjects -p total | ::findjsobjects | ::jsprint
Note that some garbage objects may turn up. Should be recognizable.
The presentation is generated via (mdpress)[https://github.com/egonSchiele/mdpress]. So:
sudo gem install mdpress
Then:
mdpress ./pres/pres.md