Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 2e03b4e

Browse files
committed
remove obsolete code
1 parent 01cab6f commit 2e03b4e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/node/nodeDebug.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,6 @@ export class NodeDebugSession extends DebugSession {
296296
// re-attach to the received port
297297
port = extensionHostData.reattachPort;
298298
} else {
299-
// make sure that we launch VSCode and not just electron pretending to be node
300-
delete process.env['ATOM_SHELL_INTERNAL_RUN_AS_NODE'];
301-
302299
// we know that extensionHost is always launched with --nolazy
303300
this._lazy = false;
304301

@@ -451,7 +448,7 @@ export class NodeDebugSession extends DebugSession {
451448
this.sendEvent(new OutputEvent(cli, 'console'));
452449
}
453450

454-
private _captureOutput(process: CP.ChildProcess) {
451+
private _captureOutput(process: CP.ChildProcess) {
455452
process.stdout.on('data', (data: string) => {
456453
this.sendEvent(new OutputEvent(data.toString(), 'stdout'));
457454
});

0 commit comments

Comments
 (0)