Why is it not possible to specify remote JS file instead of local one?
I work on Windows but my code is Linux-specific so I use Linux VM and autodeploy code changes into VM.
Build configuration requires using of Webpack so I build my code in VM.
The thing is that I need to run bundled JS file (i.e. remote_path/dist/main.js) and I only build this code on remote server (VM) so I don't really have this file on my PC.
Moreover, I can ignore WebStorm error about incorrect configuration and it still will work correctly but in this case I have to press 'OK' everytime I restart my debugging session to ignore this error.
Of course I also can create dummy dist/main.js file in my project on my PC so WebStorm doesn't complain about it but I guess there should be an option to select remote file if you use remote Node interpreter.