We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7d60f commit 5e8674aCopy full SHA for 5e8674a
src/extension.ts
@@ -12,6 +12,8 @@ import { MobDebuggerProvider } from './debugger/MobDebuggerProvider';
12
import { formatText } from 'lua-fmt';
13
14
const LANGUAGE_ID = 'lua'; //EmmyLua
15
+const DEBUG_MODE = false;
16
+
17
export let savedContext: vscode.ExtensionContext;
18
let client: LanguageClient;
19
let activeEditor: vscode.TextEditor;
@@ -100,9 +102,8 @@ function startClient() {
100
102
}
101
103
};
104
- let socketMode = false;
105
let serverOptions: ServerOptions;
- if (socketMode) {
106
+ if (DEBUG_MODE) {
107
// The server is a started as a separate app and listens on port 5007
108
const connectionInfo = {
109
port: 5007
0 commit comments