arangodb - Foxx apps debugging workflow? -


what recommended workflow debug foxx applications?

i working on pretty big application , seems me doing wrong, because way proceeding not seem maintanable @ all:

  1. do changes in foxx app (eg new endpoints).
  2. upload foxx app arangodb.
  3. test changes (eg trigger api calls).
  4. check logs see if went wrong.
  5. go 1.

i experienced great time savings, shifting more of development workflow terminal client 'arangosh'. when debugging more complex endpoints, can isolate queries , functions , debug each individually in terminal. when done debugging, merge code in foxx app , mount it. require modules in foxx, enter variables arguments functions or queries.

you can use arangosh either directly terminal or via embedded terminal in arangodb frontend.

you may save time switching dev mode, allows have changes in code directly reflected in mounted app without fetching, mounting , unmounting each time. additional flexibility costs performance, make sure switch production mode once foxx app ready deployment.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -