Open ebruchez opened 9 years ago
Could you just use the javascript console and pipe errors to that?
We were thinking of something slightly more high level, but I agree: doing something at the console level might be a first good step.
Either way a requirement is that the server should send to the client some of the information which otherwise goes to a log file on the server.
+1 for starting with something simple.
+1 from customer also to debug service calls/the send
action. I added some doc about how to do it right now but it's not ideal.
What the console should cover:
When developing forms, it'd be great to have more visibility, for example on errors. Some errors happen as a matter of course, but some not.
Until Orbeon Forms 4.9, we used to show an error dialog in dev mode. But this is not ideal. Instead:
As a first approximation, a very simple console could be hooked up in the spot where we show the dynamic errors dialog.
See also #2161.