detect debugMode for test result

This test now failed on screwdriver. Looks like on sd, the nodejs is not running in development mode.