Selenium/hub can't recognize selenium/node-chrome-debug while in network_mode = "host"
Diego Molina figured out why it did not work.
It is because Chrome container will try to register to the name selenium-hub
, which does not exist in the "host" network, and would only exist in the network that docker-compose creates.
To make it works, just set HUB_HOST=localhost
.