1 // Copyright (c) 2014 GitHub, Inc. All rights reserved.
2 // Use of this source code is governed by the MIT license that can be
3 // found in the LICENSE file.
5 #ifndef ATOM_BROWSER_NODE_DEBUGGER_H_
6 #define ATOM_BROWSER_NODE_DEBUGGER_H_
8 #include "base/basictypes.h"
9 #include "vendor/node/deps/uv/include/uv.h"
13 // Add support for node's "--debug" switch.
17 virtual ~NodeDebugger();
20 static void DispatchDebugMessagesInMainThread(uv_async_t* handle);
21 static void DispatchDebugMessagesInMsgThread();
23 static uv_async_t dispatch_debug_messages_async_;
25 DISALLOW_COPY_AND_ASSIGN(NodeDebugger);
30 #endif // ATOM_BROWSER_NODE_DEBUGGER_H_