@@ -135,7 +135,7 @@ main = do
135135 withSeleniumServer $ \selenium -> do
136136 browserPath <- liftIO $ T.strip . T.pack <$> readProcess "which" [ "chromium" ] ""
137137 when (T.null browserPath) $ fail "No browser found"
138− withDebugging <- isJust <$> lookupEnv "DEBUG"
138+ withDebugging <- isNothing <$> lookupEnv "NO_DEBUG"
139139 let wdConfig = WD.defaultConfig { WD.wdPort = fromIntegral $ _selenium_portNumber selenium }
140140 chromeCaps' = WD.getCaps $ chromeConfig browserPath chromeFlags
141141 hspec (tests withDebugging wdConfig [chromeCaps'] selenium) `finally` _selenium_stopServer selenium