Skip to content

Instantly share code, notes, and snippets.

@jnareb
Created November 23, 2008 23:05
Show Gist options
  • Save jnareb/28307 to your computer and use it in GitHub Desktop.
Save jnareb/28307 to your computer and use it in GitHub Desktop.
gitweb-ddd.sh, debugging CGI app (gitweb) with DDD
#!/bin/sh
export GATEWAY_INTERFACE="CGI/1.1"
export HTTP_ACCEPT="*/*"
export REQUEST_METHOD="GET"
export QUERY_STRING=""$1""
export PATH_INFO=""$2""
ddd "/home/local/gitweb/gitweb.cgi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment