Allow user to choose ip and port in `cairo-run --tracer`
choideugene opened this issue · comments
Eugene Choi commented
Hi! I use a custom docker image to build and run cairo files. Today, cairo-run ... --tracer
uses localhost
to host the tracer ui. This unfortunately means that I cannot properly forward traffic from my host to the container. A simple fix would be to replace localhost
with 0.0.0.0
at this line
However, maybe we can generalize and allow the user to choose the ip and port on which the tracer ui is hosted. For example, maybe
cairo-run ... --tracer --tracer-ip 0.0.0.0 --tracer-port 8101
Johan T. Halseth commented
@choideugene I made an attempt at fixing this here: #161
Feel free to test if it works for you!