7/8/2023 0 Comments Jetbrains nodeNow I had only 2 options, I switch my IDE or drop the docker idea. I posted a comment on the question, and my worst fear came alive, the issue was still not resolved. I started to go through the documentation of WebStorm to figure out a solution, followed the exact steps mentioned in the guide below. Though I solved one problem of the initial setup of the development environment, I introduce another, now we didn't have the debugger support. Soon I realized Webstorm was not able to detect the installed packages and also I was not able to run the application in debug mode. But nothing is easy until you get your hands dirty with coding. Well, that was easy, all I needed was to create a docker-compose file and the dockerfile with the steps required to set up the environment with all the services. I took up the task to migrate our local setup to docker to ease the initial development environment. This is the question I stumbled upon, recently when I join my new company, and we were using SailJS for the backend, and we did have docker setup for production, but not for local development. So now the question comes how to use docker with IDEs, specially WebStorm. Right from bringing up a database, to a new coding language environment to anything and everything one requires for local development. Now any developer can easily bring up a new tech stack in a matter of minutes. We all can agree to the fact that introduction to docker into development has changed the whole developer experience. I am a big fan of Jet Brains, whenever I pick a new language I don't have the struggle to google the best IDE for the given language, rather I would go to the JetBrains website and find the IDE. That brings us to the main topic, IDEs in development. In fact, I only know 3 main command in vim which helps me to work - :wq, \find-the-keyword, dd. But in today's scenario, we can't expect to work on vim. If you ask developers with more than 10 years of experience you might find most of them glued into vim and the secret powers of the command line. Unfortunately, it is not well documented, and also no way to update the path as of now. The path inside the container has to be /opt/project (exact path) where you are loading the project file and also installing the node_modules.
0 Comments
Leave a Reply. |