Hey Florian!, thanks for the nice walkthrough. Just a side note, if your app is running in the container at "/opt/app", you should also put that path in the remoteRoot launch config. I just figured that out myself!
Great tutorial, however I am getting "cannot edit in read only editor" after a breakpoint is reached in the opened file and I cannot directly modify this code without closing the tab and re-opening the file. I assume it's because the file accessed is through the debugger, but how can I solve this issue?
Thanks for the video! Very helpful I was able to run the same setup. However I tried to configure a typescript project that already has many modules, could you give some guidance regarding the sourceMap:true config? It seems that when I was running the project inside the docker container the breakpoints were located all over the place :c not matching the lines correctly.
Glad it helped! But to be honest, I never had this problem before. I would recommend you to create a detailed StackOverflow question about it. Unfortunately I cannot really help you with this. Good look!
A very good tutorial. But how do you include a typescript file that's in another folder ? Do you have to explicitly add the path/file as a volume in the docker.yml ? I've tried but I get a typescript error, can't find module
Thank you! And if you want to include a TypeScript file, that is located in another folder, you need to add this folder to the container as a volume under "volumes" in docker-compose.yml
Amazing video. Thanks a lot But my hot reload does not work (on windows). Everything seems to work fine (docker compose, starting app, etc), but when I modify a file, nodemon does not recognizes it 😞
@@flolu I got it! There is a known issue for network shares or (some) mounted volumes. You can set "nodemon -L" or "nodemon --legacy-watch" so nodemon uses a polling-technique (I would recommend this only for local environment). It works for me. So just in case somebody will have the same problem 😀
After struggling for 4 long hours, I found this and it worked in the first go! Thank you!
Im' glad to hear that!
Hey Florian!, thanks for the nice walkthrough. Just a side note, if your app is running in the container at "/opt/app", you should also put that path in the remoteRoot launch config. I just figured that out myself!
Good to know!
Very useful tutorial for us Docker beginners. Thanks
Glad you liked it
Works perflectly, awesome video Florian!
What an amazing video! Helped me a lot. Greetings from Brazil!
I'm glad that the video helped you!
Awesome Video on a niche subject of concern . Thank you !
Great to hear that!
Great tutorial, however I am getting "cannot edit in read only editor" after a breakpoint is reached in the opened file and I cannot directly modify this code without closing the tab and re-opening the file. I assume it's because the file accessed is through the debugger, but how can I solve this issue?
Nice video man!!! This was really helpful :)
Thank you so much,, your contents are awesome. 👌
Thank you Hamzath, I appreciate it!
Thanks for the video! Very helpful I was able to run the same setup.
However I tried to configure a typescript project that already has many modules, could you give some guidance regarding the sourceMap:true config? It seems that when I was running the project inside the docker container the breakpoints were located all over the place :c not matching the lines correctly.
Glad it helped! But to be honest, I never had this problem before. I would recommend you to create a detailed StackOverflow question about it. Unfortunately I cannot really help you with this. Good look!
Can't I run apo1 and app2 in two vscode running side by side, duplicate folder.
A very good tutorial.
But how do you include a typescript file that's in another folder ?
Do you have to explicitly add the path/file as a volume in the docker.yml ?
I've tried but I get a typescript error, can't find module
Thank you! And if you want to include a TypeScript file, that is located in another folder, you need to add this folder to the container as a volume under "volumes" in docker-compose.yml
@@flolu OK, It works , I'd missed the . from ./
Really cool video - helped a lot!
Thank you!
Can you make app1 & app2 depends-on ? Like app2 depends-on app1.
so valuable video... thank you for --nolazy flag, this was a missing peace in my setup, spent hours on resolving this
I'm glad to hear, that this video helped you!
Amazing video. Thanks a lot
But my hot reload does not work (on windows). Everything seems to work fine (docker compose, starting app, etc), but when I modify a file, nodemon does not recognizes it 😞
I'm sorry for you. Not sure what's going on there. Might be a problem on Windows
@@flolu I got it! There is a known issue for network shares or (some) mounted volumes. You can set "nodemon -L" or "nodemon --legacy-watch" so nodemon uses a polling-technique (I would recommend this only for local environment). It works for me. So just in case somebody will have the same problem 😀
Very good Video, you explain it perfectly.
I'm glad I could help!
So helpful thankyou !
awesome, thanks!!
You're welcome!
Thank you ..!
tks man!😁
Thanks!
Welcome!
Nice1!
Thanks!
Мне очень помогло, спасибо
Это меня очень радует
Hallo
Thanks you very much. ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
You are welcome 😊