If you need to set up a proxy into your debian machine you should open you terminal and run the following command:
HTTP Proxy
export http_proxy="http://USERNAME:PASSWORD@PROXYSERVER:PORT"
FTP Proxy
export ftp_proxy="ftp://USERNAME:PASSWORD@PROXYSERVER:PORT"
hope it helps