From e3f20e9a77c67a5658b3c483df1bce9dee83353e Mon Sep 17 00:00:00 2001 From: Dekel Barzilay Date: Sun, 25 Oct 2015 16:32:26 +0200 Subject: [PATCH] Added missing flag 'v8debug' to Global interface 'v8debug' is an optional flag that will be set in NodeJS globals upon using the 'debug-brk' command parameter. We're using it to dynamically detect when app is running in debug-mode. (When not on debug-mode, the 'v8debug' flag is undefined) --- node/node.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node/node.d.ts b/node/node.d.ts index 9448b413b1..1cab19a6d2 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -334,6 +334,7 @@ declare module NodeJS { undefined: typeof undefined; unescape: (str: string) => string; gc: () => void; + v8debug?: any; } export interface Timer {