Sounds good, the only problem is that I'm used to have multiple independent projects (like 5 at the same time), and assign manually an IP for each of them doesn't feel right.
if you exposed the port at run step and used launch.json for each project, you can use localhost but with different port in each project according to the configuration .
you are welcome :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Do you know a practical way to do this but using Docker (Odoo official image)?
yes of course:
and then restart the container
after that go to launch.json and change the host and port according to what you set in the init file
But the IP of the container will change on every "recreation", isn't?
you are right
so you can expose the port at the run step
Sounds good, the only problem is that I'm used to have multiple independent projects (like 5 at the same time), and assign manually an IP for each of them doesn't feel right.
Anyway, thanks for your replies :)
if you exposed the port at run step and used launch.json for each project, you can use localhost but with different port in each project according to the configuration .
you are welcome :)