Setup a debugging environment