Skip to content

Commit

Permalink
do not append logLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed May 28, 2018
1 parent e48e7e4 commit eef87da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vs/workbench/parts/debug/electron-browser/debugService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import { IAction, Action } from 'vs/base/common/actions';
import { normalizeDriveLetter } from 'vs/base/common/labels';
import { RunOnceScheduler } from 'vs/base/common/async';
import product from 'vs/platform/node/product';
import { ILogService, LogLevel } from 'vs/platform/log/common/log';
import { deepClone, equals } from 'vs/base/common/objects';

const DEBUG_BREAKPOINTS_KEY = 'debug.breakpoint';
Expand Down Expand Up @@ -107,7 +106,6 @@ export class DebugService implements debug.IDebugService {
@ITaskService private taskService: ITaskService,
@IFileService private fileService: IFileService,
@IConfigurationService private configurationService: IConfigurationService,
@ILogService private logService: ILogService
) {
this.toDispose = [];
this.toDisposeOnSessionEnd = new Map<string, lifecycle.IDisposable[]>();
Expand Down Expand Up @@ -778,9 +776,6 @@ export class DebugService implements debug.IDebugService {
if (noDebug) {
config.noDebug = true;
}
if (!config.logLevel) {
config.logLevel = LogLevel[this.logService.getLevel()].toLowerCase();
}

return (type ? TPromise.as(null) : this.configurationManager.guessDebugger().then(a => type = a && a.type)).then(() =>
this.configurationManager.resolveConfigurationByProviders(launch && launch.workspace ? launch.workspace.uri : undefined, type, config).then(config => {
Expand Down

0 comments on commit eef87da

Please sign in to comment.