Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

223
Vistas
Best practices for using a REPL debugger with Express.js / Node.js

I'm trying to understand how a framework built with Express.js, called Probot, works.

I'm fairly new to JS and Node.js, but I know my way around Ruby / Rails. When I'm trying to debug something with Ruby / Rails, I'll use [byebug][2]. I'll insert byebug into my Ruby code with a running local server (i.e. rails server), the server process stops, and I'm able to interactively decipher my code's context near that byebug statement.

Is there an existing library or function that enables this same functionality with Node.js / Express.js / Probot? My scaffolded app is invoked with npm start, so it's not necessarily a matter of debugging regular JavaScript code, but being able to understand how my local server is interacting with an external API.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You'll want to use the inspector in a chrome-based browser or your IDE, along with a debugger; statement to cause it to break at a specific location. It's not as elegant as some other languages, unfortunately, but it does tap pretty cleanly into various tools.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda