title: Line profiling python code running as background service
body: <p>I am aware of the way independent scripts are profiled using kerprof/profile/cProfile. But how can I profile python web application running as background service/long running application</p>