DEV Community

Discussion on: Clean Odoo debugging

Collapse
 
afromonkey profile image
Moisés Alejandro Navarro Presas

But the IP of the container will change on every "recreation", isn't?

Thread Thread
 
alfadil profile image
Alfadil mustafa

you are right
so you can expose the port at the run step

Thread Thread
 
afromonkey profile image
Moisés Alejandro Navarro Presas

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 :)

Thread Thread
 
alfadil profile image
Alfadil mustafa

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 :)