Skip to content

Commit c97be16

Browse files
committed
Log the config of the project
1 parent 0adab89 commit c97be16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/server/editorServices.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,6 +1757,12 @@ namespace ts.server {
17571757
configFileErrors.push(...parsedCommandLine.errors);
17581758
}
17591759

1760+
this.logger.info(`Config: ${configFilename} : ${JSON.stringify({
1761+
rootNames: parsedCommandLine.fileNames,
1762+
options: parsedCommandLine.options,
1763+
projectReferences: parsedCommandLine.projectReferences
1764+
}, /*replacer*/ undefined, " ")}`);
1765+
17601766
Debug.assert(!!parsedCommandLine.fileNames);
17611767
const compilerOptions = parsedCommandLine.options;
17621768

0 commit comments

Comments
 (0)