I have moved an existing node.js + express project to VS because I prefer the IDE over JetBrains for now (used VS for years, only peeked into Webstorm).
I used NTVS
Not so much knowledge on expressjs
but with a recent release of NTVS
1.0 Alpha, I did find it supports remote debugging which can be also used to debug nodejs
app running locally - anyway haven't tried if it works with nodejs app + expressjs but it should.
I followed the step in this video https://youtu.be/-ir9ZB8lUg4 which is
node.exe RemoteDebug.js
.RemoteDebug.js
has come when you install NTVS.Debug
> Attach to Process
Node.js remote debugging
for Transportlocalhost:5859
for QualifierAttach
This will put Visual Studio in debugging mode which you can set a breakpoint, do step-in/step-out, very same experience when you use VS to debug .NET app.