diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-26 19:53:36 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-01-05 01:25:31 +0800 |
commit | b22c86ed3bd3242177b02a34292febe41275a52b (patch) | |
tree | e45fe8e41e4f8fbd20c2dbfffc8c9836ffac815b /lib/internal/worker/io.js | |
parent | d4934ae6f2745f8fab1a83821f50290c9688c326 (diff) | |
download | android-node-v8-b22c86ed3bd3242177b02a34292febe41275a52b.tar.gz android-node-v8-b22c86ed3bd3242177b02a34292febe41275a52b.tar.bz2 android-node-v8-b22c86ed3bd3242177b02a34292febe41275a52b.zip |
src: use `internalBinding('config').hasInspector` in JS land
Instead of `process.config.variables.v8_enable_inspector`
which depends on the variable name in gyp files, or detecting
`internalBinding('inspector').Connection`.
PR-URL: https://github.com/nodejs/node/pull/25291
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal/worker/io.js')
0 files changed, 0 insertions, 0 deletions