Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 9f38601b486f28b21f430ec04cb98520268ad271..c3d737ec26e82201f035bd6b2dbada3009feb510 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -3433,15 +3433,11 @@ bool Debugger::StartAgent(const char* name, int port, |
v8::Debug::DebugBreak(); |
} |
- if (Socket::SetUp()) { |
- if (agent_ == NULL) { |
- agent_ = new DebuggerAgent(isolate_, name, port); |
- agent_->Start(); |
- } |
- return true; |
+ if (agent_ == NULL) { |
+ agent_ = new DebuggerAgent(isolate_, name, port); |
+ agent_->Start(); |
} |
- |
- return false; |
+ return true; |
} |