We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76b78a4 commit 60487dcCopy full SHA for 60487dc
1 file changed
src/tsserver/server.ts
@@ -968,6 +968,10 @@ namespace ts.server {
968
// Start listening
969
ioSession.listen();
970
971
+ if (Debug.isDebugging) {
972
+ Debug.enableDebugInfo();
973
+ }
974
+
975
if (ts.sys.tryEnableSourceMapsForHost && /^development$/i.test(ts.sys.getEnvironmentVariable("NODE_ENV"))) {
976
ts.sys.tryEnableSourceMapsForHost();
977
}
0 commit comments