cgi_debug_init(3) initialize standalone debugging

SYNOPSIS


#include <cgi/cgi.h>

void cgi_debug_init (int argc, char **argv);

ARGUMENTS

argc/argv - the arguments from main

DESCRIPTION

cgi_debug_init initializes a CGI program for standalone debugging. By running a ClearSilver CGI program with a filename on the command line as the first argument, the CGI program will load that file of the form K=V as a set of HTTP/CGI environment variables. This allows you to run the program under a debugger in a reproducible environment.

RETURN VALUE

None