FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node/src/node_debug_options.h at test-https-req-split · BruceFletcher/node · GitHub
BruceFletcher
/
node
Public
forked from
nodejs/node
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node
/
src
/
node_debug_options.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (32 loc) · 1 KB
Breadcrumbs
node
/
src
/
node_debug_options.h
Copy path
File metadata and controls
38 lines (32 loc) · 1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
ifndef
SRC_NODE_DEBUG_OPTIONS_H_
#
define
SRC_NODE_DEBUG_OPTIONS_H_
#
include
<
string
>
//
Forward declaration to break recursive dependency chain with src/env.h.
namespace
node
{
class
DebugOptions
{
public:
DebugOptions
();
bool
ParseOption
(
const
char
* argv0,
const
std::string& option);
bool
inspector_enabled
()
const
{
return
inspector_enabled_; }
bool
deprecated_invocation
()
const
{
return
deprecated_debug_ &&
inspector_enabled_ &&
break_first_line_;
}
bool
invalid_invocation
()
const
{
return
deprecated_debug_ && !inspector_enabled_;
}
bool
wait_for_connect
()
const
{
return
break_first_line_; }
std::string
host_name
()
const
{
return
host_name_; }
void
set_host_name
(std::string host_name) { host_name_ = host_name; }
int
port
()
const
;
void
set_port
(
int
port) { port_ = port; }
private:
bool
inspector_enabled_;
bool
deprecated_debug_;
bool
break_first_line_;
std::string host_name_;
int
port_;
};
}
//
namespace node
#
endif
//
SRC_NODE_DEBUG_OPTIONS_H_
Back
|
FazBrowse Home
|
New Git URL