metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.81k stars 104 forks source link

Pipe layer traces to internal-proxy #1711

Open DmitryDodzin opened 1 year ago

DmitryDodzin commented 1 year ago

To prevent any unexpected behaviour with child processes that are spawned with unpiped stdout/stdin/stderr mirrord layer should never print to stdout but send everything to internal-proxy like mirrord-console and only print to console in mirrord-cli process

t4lz commented 1 year ago

I think this contradicts #1714 a bit. As a daemon the internal-proxy does not write to the running app's stderr.

aviramha commented 1 year ago

Maybe it's time we expose a HTTP interface from internal proxy that allows easier debugging :P