Skip to content

Commit

Permalink
fix(client): remove unneeded debug options
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumar Harsh committed Apr 17, 2019
1 parent 6f73919 commit f1a453d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,10 @@ export function activate(context: ExtensionContext) {
const serverModule = context.asAbsolutePath(
path.join('out', 'server', 'server.js'),
);
// The debug options for the server
const debugOptions = { execArgv: ['--nolazy', '--debug=6004'] };

// If the extension is launched in debug mode then the debug server options are used
// Otherwise the run options are used
const serverOptions: ServerOptions = {
run: { module: serverModule, transport: TransportKind.ipc },
debug: {
module: serverModule,
transport: TransportKind.ipc,
options: debugOptions,
},
module: serverModule,
transport: TransportKind.ipc,
};

// Options to control the language client
Expand Down

0 comments on commit f1a453d

Please sign in to comment.