'Is it possible to have a communication from a application installed on the WSL2 system to VsCode?

Is it possible to have a bidirectional communication from an application that is installed on the connected OS ( wsl2 ) and the VsCode?

I have a use case where I need to have a javascript application to ask for a password and I need to create a prompt in the vscode. Is it possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source