Skip to content

Debugging

Leonid Pyrlia edited this page Aug 31, 2022 · 4 revisions

The library ships with a built-in debug module.

To enable debugging add DEBUG=dukascopy-node:* environment variable to your execution code.

For CLI calls, add -d flag :

npx dukascopy-node -i usdjpy -from 2022-03-21 -to 2022-03-22 -t m1 -d

or alternatively prepend DEBUG=dukascopy-node:cli:*:

DEBUG=dukascopy-node:cli:* npx dukascopy-node -i usdjpy -from 2022-03-21 -to 2022-03-22 -t m1

example of debugging output

Clone this wiki locally