Node.js  v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
DebugOptions Class Reference

#include <node_debug_options.h>

Public Member Functions

 DebugOptions ()
 
bool ParseOption (const char *argv0, const std::string &option)
 
bool inspector_enabled () const
 
bool deprecated_invocation () const
 
bool invalid_invocation () const
 
bool wait_for_connect () const
 
std::string host_name () const
 
void set_host_name (std::string host_name)
 
int port () const
 
void set_port (int port)
 

Detailed Description

Definition at line 9 of file node_debug_options.h.

Constructor & Destructor Documentation

◆ DebugOptions()

Definition at line 57 of file node_debug_options.cc.

Member Function Documentation

◆ deprecated_invocation()

bool deprecated_invocation ( ) const
inline

Definition at line 14 of file node_debug_options.h.

Referenced by node::SetupProcessObject().

◆ host_name()

std::string host_name ( ) const
inline

◆ inspector_enabled()

bool inspector_enabled ( ) const
inline

Definition at line 13 of file node_debug_options.h.

Referenced by Agent::Start().

◆ invalid_invocation()

bool invalid_invocation ( ) const
inline

Definition at line 19 of file node_debug_options.h.

Referenced by node::SetupProcessObject().

◆ ParseOption()

bool ParseOption ( const char *  argv0,
const std::string &  option 
)

Definition at line 63 of file node_debug_options.cc.

◆ port()

int port ( ) const

◆ set_host_name()

void set_host_name ( std::string  host_name)
inline

Definition at line 24 of file node_debug_options.h.

References DebugOptions::host_name(), and DebugOptions::port().

◆ set_port()

void set_port ( int  port)
inline

Definition at line 26 of file node_debug_options.h.

References DebugOptions::port().

◆ wait_for_connect()

bool wait_for_connect ( ) const
inline

Definition at line 22 of file node_debug_options.h.

Referenced by node::SetupProcessObject(), and Agent::Start().


The documentation for this class was generated from the following files: