vadimdemedes / ink

🌈 React for interactive command-line apps
https://term.ink
MIT License
26.42k stars 593 forks source link

React DevTools in Docker Container #507

Open 0xBC84 opened 2 years ago

0xBC84 commented 2 years ago

First off, love this library. Thank you for your consistent efforts!

I'm running my application via Docker, I'd like to connect to React DevTools but need some help. I have set DEV=true and installed react-devtools-core, however I am sure there is additional setup required? Perhaps I need to open up some kind of port? I have also tried running the containers in the "host" network mode.

I am booting the standalone client with npx react-devtools

vadimdemedes commented 1 year ago

According to https://www.npmjs.com/package/react-devtools, you need to open port 8097.