1

I have a local pylons app that I've been developing and debugging with pyCharm. We have been using "paster", which is a python script, to serve out this website. In my debugging configuration I specify "paster" as the script to launch, and feed it the parameters it needs to launch my website. I can then set breakpoints in my website code and when they are hit, I can debug.

That all works great.

Recently though, our company is switching to uwsgi, instead of paster. So to run my website, I will now be launching uwsgi instead of paster. The problem I'm running in to is that uwsgi is not a python script. When I specify the uwsgi (a binary executable) as the script to start in my debugging configuration, pyCharm complains.

So my broader question is: Is there a way to use pyCharm to debug a python script when that script is not launched by something that's python based?

I posed this question to JetBrains and theire support was not that great, it was like "Try remote debugging". But honestly, I don't see how remote debugging well help. Am I missing something obvious?

Thanks so much Michael

2
  • try: Tools → Attach to process. Dunno if this will work. Edit: lol, asked 9 months ago Commented Feb 10, 2015 at 14:21
  • Answered in stackoverflow.com/questions/21257568/… Commented Apr 30, 2018 at 13:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.