GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/src/node_debug_options.h at master · rbranson/node Expand file tree/ Copy pathnode_debug_options.hMore file actions 51 lines (44 loc) · 1.1 KB / Copy pathnode_debug_options.hFile metadata and controls51 lines (44 loc) · 1.1 KB 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 39 40 41 42 43 44 45 46 47 48 49 50 51 #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 { enum class DebugAgentType { kNone, kDebugger, #if HAVE_INSPECTOR kInspector #endif // HAVE_INSPECTOR }; class DebugOptions { public: DebugOptions(); bool ParseOption(const std::string& option); bool debugger_enabled() const { return debugger_enabled_ && !inspector_enabled(); } bool inspector_enabled() const { #if HAVE_INSPECTOR return inspector_enabled_; #else return false; #endif // HAVE_INSPECTOR } void EnableDebugAgent(DebugAgentType type); bool ToolsServerEnabled(); bool wait_for_connect() const { return wait_connect_; } std::string host_name() const { return host_name_; } int port() const; void set_port(int port) { port_ = port; } private: bool debugger_enabled_; #if HAVE_INSPECTOR bool inspector_enabled_; #endif // HAVE_INSPECTOR bool wait_connect_; bool http_enabled_; std::string host_name_; int port_; }; } // namespace node #endif // SRC_NODE_DEBUG_OPTIONS_H_ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |