Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2022-02-24 02:32:30 +0300
committerGitHub <noreply@github.com>2022-02-24 02:32:30 +0300
commit0367b5c35ea0f98b323175a4aaa8e651af7a91e7 (patch)
tree7df0351688e59aa7fd8d90e7585486dbe9d753cb /src/env.h
parent7efef7458573281db07327bbc3408f7806466468 (diff)
src: allow preventing InitializeInspector in env
PR-URL: https://github.com/nodejs/node/pull/35025 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 86891290416..8fbe41518e1 100644
--- a/src/env.h
+++ b/src/env.h
@@ -1210,6 +1210,7 @@ class Environment : public MemoryRetainer {
inline bool is_main_thread() const;
inline bool no_native_addons() const;
inline bool should_not_register_esm_loader() const;
+ inline bool should_create_inspector() const;
inline bool owns_process_state() const;
inline bool owns_inspector() const;
inline bool tracks_unmanaged_fds() const;