Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!