There are to questions here, actually
There first in the topic "How to invoke foreman via Eclipse when debugging", was already answered by @pulkitsinghal himself, i.e. create Run/Debug Configuration for Nodeclipse.
The second question is how to automate and take that information from .env
(format that I don't know, just because every PaaS would make it's own format for such settings). That would let us be true to DRY principle.
The answer is DIY "Do it yourself"
The closet code to what you need is https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationDelegate.java Maybe parsing .env into Configuration would be enough. Pull Request is welcomed.
You can also propose an idea at http://nodeclipse.uservoice.com/forums/216804-general , hopefully a lot of people needs the same.