How to specify container name when running project using remote Node.js interpreter on docker ?
Hello,
I followed this tutorial https://blog.jetbrains.com/webstorm/2017/04/quick-tour-of-webstorm-and-docker/ to run Node.js on docker containers.
All works perfectly well, but I end up with a container named with a random string like /suspicious_lovelace which is funny, but it's random and the container name gets changed everytime I run my node.js code.
I wish to specify the container name of the docker container. So far, in the Run/Debug configurations I can specify docker container settings like port mappings, and I can also specify docker container environment variables, though not sure if that's the right way to specify the docker container.
Please help.
Thanks
Please sign in to leave a comment.
There is currently no way to do this, please follow https://youtrack.jetbrains.com/issue/PY-23244 for updates
This is still an issue in Intellij (I.e. you cannot name a remote debug container) when debugging remote nodejs containers, despite the PyCharm issues being marked as resolved... https://youtrack.jetbrains.com/issue/PY-23244
Is this meant to be fixed across the entire suite?