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)
This commit is contained in:
Dekel Barzilay
2015-10-25 16:32:26 +02:00
parent 3191f6e008
commit e3f20e9a77

1
node/node.d.ts vendored
View File

@@ -334,6 +334,7 @@ declare module NodeJS {
undefined: typeof undefined;
unescape: (str: string) => string;
gc: () => void;
v8debug?: any;
}
export interface Timer {