Skip to content

Commit 5e8674a

Browse files
committed
DEBUG_MODE
1 parent fb7d60f commit 5e8674a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/extension.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import { MobDebuggerProvider } from './debugger/MobDebuggerProvider';
1212
import { formatText } from 'lua-fmt';
1313

1414
const LANGUAGE_ID = 'lua'; //EmmyLua
15+
const DEBUG_MODE = false;
16+
1517
export let savedContext: vscode.ExtensionContext;
1618
let client: LanguageClient;
1719
let activeEditor: vscode.TextEditor;
@@ -100,9 +102,8 @@ function startClient() {
100102
}
101103
};
102104

103-
let socketMode = false;
104105
let serverOptions: ServerOptions;
105-
if (socketMode) {
106+
if (DEBUG_MODE) {
106107
// The server is a started as a separate app and listens on port 5007
107108
const connectionInfo = {
108109
port: 5007

0 commit comments

Comments
 (0)