| Index: include/v8-debug.h
|
| diff --git a/include/v8-debug.h b/include/v8-debug.h
|
| index b27bacc1080123b11f6a93c3302147aac3013b0d..10b41e2368f34f8e87f2c5ee41cbb8231f2387bf 100644
|
| --- a/include/v8-debug.h
|
| +++ b/include/v8-debug.h
|
| @@ -258,8 +258,11 @@ class EXPORT Debug {
|
| * supplied TCP/IP port for remote debugger connection.
|
| * \param name the name of the embedding application
|
| * \param port the TCP/IP port to listen on
|
| + * \param wait_for_connection whether V8 should pause on a first statement
|
| + * allowing remote debugger to connect before anything interesting happened
|
| */
|
| - static bool EnableAgent(const char* name, int port);
|
| + static bool EnableAgent(const char* name, int port,
|
| + bool wait_for_connection = false);
|
| };
|
|
|
|
|
|
|