Debug flag has changed from 'debug' to '--inspect' starting with node version 8. This change uses the correct flag, depending on the running version.
EDIT:
Unfortunately I did not find a way to test this flag. The approach in objectArgs_test.js seems not to work here, because the debugger output is written to early …
EDIT 2:
I just realised, that you do not run node 8 on travis. Is node 8 not officially supported?
Debug flag has changed from 'debug' to '--inspect' starting with node version 8. This change uses the correct flag, depending on the running version.
EDIT: Unfortunately I did not find a way to test this flag. The approach in objectArgs_test.js seems not to work here, because the debugger output is written to early …
EDIT 2: I just realised, that you do not run node 8 on travis. Is node 8 not officially supported?