Skip to content

Instantly share code, notes, and snippets.

This gist contains the examples for the article "Debugging Node.js Applications, Part One".
- https://medium.com/trabe/debugging-node-js-applications-part-1-f1cca5084356
- https://rcoedo.com/blog/2018/10/01/debugging-node-js-applications-part-one
This gist contains the examples for the article "Mastering the Node.js REPL, Part Three".
- https://medium.com/trabe/mastering-the-node-js-repl-part-3-c0374be0d1bf
- https://rcoedo.com/blog/2018/08/27/mastering-the-node-js-repl-part-three

Handling Multiple Github Accounts on MacOS

After many attempts with different approaches, the best solution I've found is to use a combination of the [includeIf] git config option and using ssh.

1. Generate the keys for every identity

> ssh-keygen -t ed25519 -C "your@email.com" -f ~/.ssh/id_<your-identity>
This gist contains the examples for the article "Detecting Node.js Active Handles with wtfnode".
- https://medium.com/trabe/detecting-node-js-active-handles-with-wtfnode-704e91f2b120
- https://rcoedo.com/blog/2019/08/12/detecting-node-js-active-handles-with-wtfnode