Torizon Docker configuration for remote container


I wanted to know if it is possible to pass additional docker params using the Visual Studio Code plugin while using it for remote debuging?

I specifically want to pass the -p command to to docker so that it binds to specific tcp port on the host


Greetings @gauravks,

You can control what parameters your container launches with using the configuration window of the extension. For the -p flag this gets added via the ports property. You of course need to configure this prior to launching debug since once the debug container has started you can’t modify the container initialization arguments without restarting the container.

Best Regards,

Hi Jeremias,

Thanks for the response. I am able to use it


HI @gauravks

Perfect that it works. Thanks for the feedback.

Best regards,