From 94793b70da1ba9192d49539a57560bf8052f7816 Mon Sep 17 00:00:00 2001 From: Mike Magruder Date: Thu, 20 Jun 2013 17:08:01 -0700 Subject: [PATCH] Add info about debugger config to our runtime options doc This is what people need to enable debugging for their servers. --- hphp/doc/options.compiled | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hphp/doc/options.compiled b/hphp/doc/options.compiled index b7c9b7995..00735a7d7 100644 --- a/hphp/doc/options.compiled +++ b/hphp/doc/options.compiled @@ -691,6 +691,23 @@ will look like this, "path" points to PHP source files. "log" points to error log location and "accesslog" points to access log location. +== Debugger Configuration + +By default, HHVM does not listen for connections from the HipHop +Debugger (hphpd). To enable this you need to first setup the sandbox +environment described above, then add the following to your config: + + Eval.Debugger { + EnableDebugger = true + EnableDebuggerServer = true + Port = 8089 + DefaultSandboxPath = path to source files, similar to Server.SourceRoot + } + +This will cause HHVM to start a debugger server, and you should see an +entry in the log indicating the debugger server has started before the +entry about all servers having been started. + - Machine Sharing The benefit is, same server can have one "Sandbox" configuration, and many