Afaik the docker option is (solely) added to enable developing Homey Cloud apps.
Yeah thanks Peter, I thought that as well, however interesting they made it default and as Robert mentioned, even “hiding” remote option.
Welcome to Athom!
“If Henry Ford asked what the people want, they’d say "faster horses”
YES! Only this way you can debug widgets in the browser using USB-Debugging.
But I use docker only to develop widgets. Then I can change html code on the fly and a reload of the widget in Chrome will directly use the changed code.
For everything else I use --remote.
Thanks Ronny, actually yesterday I was debugging widget using –remote, just the Reload button is missing indeed and I guess you can’t debug widget setting anyway, or? But rest was working for me.
With --remote you can still debug the app code.
But using docker and USB-Debugging (Tablet/phone must be USB connected to the PC running docker), you can change and try your html directly without restarting the app. Just change the HTML in VSCode, Hit F5 in Chrome (PC) or Safari (iOS) and the widget is updated. Very easy to check CSS and HTML changes.
Currently it works for me now also with the --remote option. However, somehow I can no longer make my breakpoints in the App.ts onInit function work. If I set a breakpoint in the Device.ts everything works wonderfully. Does anyone have an idea?