apd_set_socket_session_trace Starts the remote session debugging Description boolapd_set_socket_session_trace stringip_address_or_unix_socket_file intsocket_type intport intdebug_level Connects to the tcp server (eg. tcplisten) specified IP or Unix Domain socket (like a file), and sends debugging data to the socket. You can use any port, but higher numbers are better as most of the lower numbers may be used by other system services. the socket_type can be APD_AF_UNIX (for file based sockets) or APD_AF_INET (for standard tcp/ip) debug_level is an integer which is formed by adding together the following values: I would seriously not recommend setting the value to 'zero' to start with, and use the breakpoint methods to start debugging at a specific place in the file. <function>apd_set_socket_session_trace</function> example ]]>