convenient compatibility changes for nginx

add '--with-debug' flag
load nginx in foreground so launchctl can keep it alive