Skip to content

Commit 05dd09a

Browse files
authored
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.
1 parent 0dc8ea4 commit 05dd09a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/server.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class Server extends KarmaEventEmitter {
5858

5959
const config = cfg.parseConfig(cliOptions.configFile, cliOptions)
6060

61+
this.log.debug('Final config', JSON.stringify(config, null, 2))
62+
6163
let modules = [{
6264
helper: ['value', helper],
6365
logger: ['value', logger],

0 commit comments

Comments
 (0)