Gregory M Gregory M - 1 year ago 95
Node.js Question

Debugging Node/Express --- require('express') creates a break

My fairly limited experience with Node and Express doesn't help, but I'm having trouble debugging the app from the terminal window. Here is the issue:


node debug app.js

< debugger listening on port 5858
connecting... ok
break in server.js:1
1 var express = require('express');

Is this the right way of debugging express apps?

Answer Source

There is a popular GUI debugger (leveraging WebKit, i.e. Chrome, Safari..).

You should give it a go

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download