fixed a bug in debug() - var export wasn't returning the variable info, instead it was printing it directly. using curl_getinfo() to get other information about connection to seed.