Intellij IDEA(version 2018.03) is installed on Windows. The application is developed in NodeJs.
Project source code stored in git on Windows.
I am able to point Intellij IDEA to use the Nodejs interpreter from WSL2.
But when I debug the application the project doesn't initiate (i.e. there is nothing running on the default port 3000 which I have specified for app.). Nothing resolves on localhost:3000/myRuote
If I revert to wsl1 then everything works fine, on debug the process starts and localhost:3000/myRuote resolves. Am I missing something or do I need to do some different setting so that project starts on the default port.
Note: I Upgraded from wsl1 to wsl2, wondering if that was the reason.