Question: I have an app built in node.js and I use the node inspector in order to debug.
But it's quite hard because of this:

1. My breakpoints are never saved after I restart the server
2. I cannot put a breakpoint on a file that has not loaded yet; so I have to step into from the first script to the one I want; REALLY PAINFULL!

How do you really debug node.js with node inspector? 

The videos on how to use node.js are quite misleading as everything is into a module...  

<http://www.youtube.com/watch?v=AOnK3NVnxL8> 

or this one the scripts appear are already loaded in the first script  

<http://www.youtube.com/watch?v=HJOH0-g8f6E&feature=mfu_in_order&list=UL> 

Edit:
-----

Nobody can answer this question? :s

Answer: 
You can use node-codein for inspection. It won't do runtime breakpoints but it should ease the inspection process.

<https://github.com/ketamynx/node-codein/>
This is built in now **including saving breakpoints**. I just tested it in node 7.3.0.

`node --inspect --debug-brk app.js`

This prints a url like this

`To start debugging, open the following URL in Chrome:
 chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9229/c3d5d93e-9d27-41b9-a4da-607e43c9d4f8`

Put that in Chrome and you're good to go.

If you want to skip copy/pasting the url, do this:

`npm install -g inspect-process
inspect --debug-brk app.js`

Unfortunately the `inspect-process` method doesn't retain the breakpoints :-(.

Here's a video I made: <https://youtu.be/rtZKUnks6jI>