I was in this exact same situation, and let me tell you... the meds aren't worth it. That shit is poison as far as I'm concerned. Read this before you start taking anything:
This one's not bad as a reference too, but the first is a better read:
I knew nothing about depression/anxiety when this happened to me, and it was due to my job in my situation as well. I just got too stressed out and broke down and suddenly had no idea what the hell was going on with me.
The docs prescribed meds, and while I think some of them potentially had a short-term benefit, none of them are worth the long-term risks or side effects. I stopped over a year ago and it was the best choice I could have made.
1) Take the time off of work if you can -- leave of absence, short-term disability, whatever you can qualify for. If that's the trigger for you, getting out of that environment is going to be the most important thing you can do.
2) See a therapist. Yeah, in some ways this carries the same stigma as going on meds, but personally, I think any type of psychological or cognitive behavioral therapy is going to do a lot more good for you than popping a pill. Avoid the quacks and look for a legitimate, practicing psychologist.
3) Focus on exercise, diet, and sleep. These three things alone can have a dramatic effect on your mood. Try to exercise daily, even if it's just a 30-minute walk outside. Avoid crappy food (fast food, fatty foods, etc) and take the time to make sure you're putting good stuff in your body. And sleep... this was the hardest for me 'cause sleep is what goes first when you're depressed or anxious... but try to get yourself on a predictable schedule, even on weekends. Go to bed and wake up at the same time every day, give yourself enough time to sleep (for me, 6.5 hours is the magic number... for others it's higher... for others it's lower), and try to avoid distractions that would wake you up (too bright of a room, leaving the TV on, etc).
4) I don't know what line of work you're in, but I would start thinking about what kind of changes you could make to your existing work (or what other lines of work you could pursue) that would reduce the stress and give you more satisfaction. For me, freelancing ended up doing the trick. It got me out of the brutal 9-5 (well, more like 8 - 7 + weekends) office environment, and allowed me to do the same type of work on my own schedule. I think flexibility is important when you're struggling with something like this.
Anyway, sorry for the long message, but I've been in this situation myself and I understand how frustrating it can be. Hit me up if you want to chat about any of this, and best of luck whatever you decide to do!