27 #define READONLY_BOOLEAN_PROPERTY(str)                                        \    29     target->DefineOwnProperty(context,                                        \    30                               FIXED_ONE_BYTE_STRING(isolate, str),            \    31                               True(isolate), ReadOnly).FromJust();            \    34 #define READONLY_PROPERTY(obj, name, value)                                   \    36     obj->DefineOwnProperty(env->context(),                                    \    37                            FIXED_ONE_BYTE_STRING(isolate, name),              \    38                            value, ReadOnly).FromJust();                       \    41 static void InitConfig(Local<Object> target,
    43                        Local<Context> context) {
    44   Environment* env = Environment::GetCurrent(context);
    45   Isolate* isolate = env->isolate();
    47 #ifdef NODE_HAVE_I18N_SUPPORT    51 #ifdef NODE_HAVE_SMALL_ICU    53 #endif  // NODE_HAVE_SMALL_ICU    55   target->DefineOwnProperty(
    57       FIXED_ONE_BYTE_STRING(isolate, 
"icuDataDir"),
    58       String::NewFromUtf8(isolate,
    60                           v8::NewStringType::kNormal).ToLocalChecked(),
    63 #endif  // NODE_HAVE_I18N_SUPPORT    85     target->DefineOwnProperty(
    87         FIXED_ONE_BYTE_STRING(isolate, 
"warningFile"),
    88         String::NewFromUtf8(isolate,
    90                             v8::NewStringType::kNormal).ToLocalChecked(),
    96   target->DefineOwnProperty(
    98       FIXED_ONE_BYTE_STRING(isolate, 
"debugOptions"),
    99       debugOptions, ReadOnly).FromJust();
   101   debugOptions->DefineOwnProperty(
   103       FIXED_ONE_BYTE_STRING(isolate, 
"host"),
   104       String::NewFromUtf8(isolate,
   106                           v8::NewStringType::kNormal).ToLocalChecked(),
   107       ReadOnly).FromJust();
   109   debugOptions->DefineOwnProperty(
   113       ReadOnly).FromJust();
   115   debugOptions->DefineOwnProperty(
   117       FIXED_ONE_BYTE_STRING(isolate, 
"inspectorEnabled"),
 
NODE_MODULE_CONTEXT_AWARE_BUILTIN(inspector, node::inspector::Agent::InitInspector)
bool inspector_enabled() const
#define READONLY_PROPERTY(obj, name, value)
#define READONLY_BOOLEAN_PROPERTY(str)
bool config_experimental_modules
node::DebugOptions debug_options
bool config_pending_deprecation
std::string config_warning_file
bool config_preserve_symlinks
MaybeLocal< Object > New(Isolate *isolate, Local< String > string, enum encoding enc)
bool config_expose_internals
std::string host_name() const