codepath / codepath/nodejs_guides

Debugging

Abierto
#10 0 comentarios 0 reacciones 1 asignado Reclamado por @CrabDude Ver en GitHub
help wanted
Lenguaje dominante
Sin datos de lenguaje
Estrellas
74
Forks
18
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

- Show how to log stack traces
- Always keep original error:
`node
promise.catch(e => {
let error = new Error('Authentication failed')
error.originalError = e
})
`
- And use long stack traces both longjohn and bluebird's
- Show how to use node-inspector (node & babel-node)
- `debugger;` --debug & --debug-brk
- Recommend step debugging boxed in IDEs
- [node-profiler](https://github.com/bnoordhuis/node-profiler)
- [node-webkit-agent](https://github.com/c4milo/node-webkit-agent)
- [node-block](https://github.com/tj/node-blocked) for watching event-loop latency
- [nodetime](https://nodetime.com)
- [new relic](http://newrelic.com/nodejs)

**What success looks like: Succinctness and clarity. Less is more.**
Reference Wikis: [Authentication & Authorization](https://github.com/codepath/nodejs_guides/wiki/Authorization-&-Authentication), [Setup](https://github.com/codepath/nodejs_guides/wiki/Setup)

Open separate issues for required links to community sources if you're having trouble finding any.

_Please assign to yourself before working on this._
/cc @NinjaSudo @philster @azoff @DiyahM

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.