Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 518 Bytes

debugging.md

File metadata and controls

9 lines (6 loc) · 518 Bytes

Debugging

If things aren't working the way you expect with Cucumber, you can enable debug logging. When this is enabled, Cucumber will emit logging to stderr relating to configuration and other things that can help you pin down a problem with your project.

Cucumber uses the popular debug library to detect when debug logging should be enabled, under the cucumber scope. To enable debug logging, set the DEBUG environment variable, like:

DEBUG=cucumber