So for your first NodeJS project, you install the V8 debugger for Eclipse from ChromeDevTools.
And whenever you have a new NodeJS project in Eclipse, what you basically do is duplicate your Debug Configuration and make two changes:
- Change the
Source Mapperthat connects the project to the local directory - Change the
Source Mapperthat connects the project to the local/remote host
This works, no problem.
But the list of Debug Configurations builds and builds. You'll have to click the debug-dropdown and choose from the list of many debug configurations the one that was meant for your current project.
- Isn't there an easier way to do this?
- Have one NodeJS
Debug Configurationthat automatically changes theSource Mappersbased on the current project? Or; - Save the project's required debug configuration and tie this specific configuration to a shortcutkey or the debug button for the current project, so you don't have to pick it from a list every single time?
- Have one NodeJS
Because I always have to click the Debug As... drop-down and choose the proper configuration.
If I just click the Debug As... button (the little green bug), I always get this: 
Even if I've just debugged.