Arquivos
hhvm/hphp/test/quick/hphpd_debugger_info.php
T
Mike Magruder d1553bda9e Add simple functions to determine if a debugger is attached
Added two simple functions to determine if a debugger is attached, and to provide info about where the debugger is connected from. Also fixed a minor bug in ext_socket where the name for an unbound AF_UNIX socket would come back from getsocketname()/getpeername() as garbage.
2013-07-10 11:16:52 -07:00

12 linhas
210 B
PHP

<?hh
// Copyright 2004-present Facebook. All Rights Reserved.
function main() {
$attached = hphp_debugger_attached();
var_dump($attached);
$info = hphp_get_debugger_info();
var_dump($info);
}
main();