From 05dd09a73232c31545d713b90dcaad260da00ff8 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Thu, 14 Jun 2018 09:14:18 -0700 Subject: [PATCH] fix(config): Log the final config just before use. (#3041) Many problems in karma use can be resolved by reading the config, but plugins can mutate the config. Here debug logging will give the final result after any mutations. --- lib/server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/server.js b/lib/server.js index e4b2c2e5a..c5779f786 100644 --- a/lib/server.js +++ b/lib/server.js @@ -58,6 +58,8 @@ class Server extends KarmaEventEmitter { const config = cfg.parseConfig(cliOptions.configFile, cliOptions) + this.log.debug('Final config', JSON.stringify(config, null, 2)) + let modules = [{ helper: ['value', helper], logger: ['value', logger],