Hi,
I'm just playing with foxx and I have some questions about debugging.
Is require("console“).log(…) the only way to debug a foxx app ???
Do you have to
reload http://127.0.0.1:8529/_db/_system/_admin/aardvark/index.html#logs
each time to see new logs ?
Logs look ugly, how do you inspect stack trace ?
Could we start a development with --debug and attach a debugger ? And use
breakpoints, variable inspection... and other useful tools ? I saw this
opened issue https://github.com/arangodb/arangodb/issues/1538 ... from 2015
!?
Is there a way to know foxx app process PID ? I would like to try to attach
fox to vs code debugger
:
https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_attaching-to-nodejs
So, if there is no way to debug foxx app only with console.log, another
solutions is to develop in node.js.
Is there a way to wrap a foxx app for node.js ? So when code will be done,
simply migrate to a foxx app ?
I'm perplex and very insteresting of your dev workflow with foxx app ?
Thanks for your advices.
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.