I tried that, VS attaches to the process but again I don't hit any of my breakpoints. This is what I see in the command prompt:
node: node.exe
scriptToDebug: bin\www
passThroughArgs:
localClientPort: localhost:5859
remoteServerPort: MARYANNSMAC:5858
startDebuggeeOnRemoteConnect: false
startDebuggeeBrokenAtEntryPoint: false
remoteServerSocket listening for connection
Debuggee started: node.exe --debug=5859 bin\www
debugger listening on port 5859
env not found undefined
Started psdb module in ENV_NOT_FOUND ...
remoteServerSocket connected
localClientSocket connected
remoteServerSocket disconnected
remoteServerSocket connected
node: node.exe
scriptToDebug: bin\www
passThroughArgs:
localClientPort: localhost:5859
remoteServerPort: MARYANNSMAC:5858
startDebuggeeOnRemoteConnect: false
startDebuggeeBrokenAtEntryPoint: false
remoteServerSocket listening for connection
Debuggee started: node.exe --debug=5859 bin\www
debugger listening on port 5859
env not found undefined
Started psdb module in ENV_NOT_FOUND ...
remoteServerSocket connected
localClientSocket connected
remoteServerSocket disconnected
remoteServerSocket connected