Browse Source

Updates isDebugging regex

main
Eric Amodio 6 years ago
parent
commit
4b5f86a9c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/logger.ts

+ 1
- 1
src/logger.ts View File

@ -6,7 +6,7 @@ import { extensionOutputChannelName } from './constants';
const ConsolePrefix = `[${extensionOutputChannelName}]`;
const isDebuggingRegex = /^--inspect(-brk)?=?/;
const isDebuggingRegex = /^--(debug|inspect)\b(-brk\b|(?!-))=?/;
export class Logger {
static level: OutputLevel = OutputLevel.Silent;

Loading…
Cancel
Save