how to debug tacker

Asked by hwc

Hi Sripriya.

I want to debug tacker, when I debug the tacker with pycharm, I find that the breakpoint which I added is not didn't work, the code wouldn't stop at the breakpoint. I think that I need close the multithreading. But I can't find how to do it, so can you tell me how to debug the tacker .

The following is the breakpoint in But it doesn't work.
        import pydevd
        pydevd.settrace('', port=55555, stdoutToServer=True, stderrToServer=True)
        tacker_api = service.serve_wsgi(service.TackerApiService)
        launcher = common_service.launch(tacker_api,

Question information

English Edit question
tacker Edit question
Sripriya Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best Sripriya (sseetha) said :

Hi hwc,
Th easiest way to debug code if you are using PyCharm is to use its inbuilt debug configurations. Refer this blog for the setup:

And please follow the PyCharm guidelines itself to add debug points in code:

Once debug points are added,

Click Run->Edit Configurations, Select Python and then click on '+'

In the script field, give the input as /usr/local/bin/tacker-server
In the Script Parameters field, give the input as --config-file /etc/tacker/tacker.conf

Select 'Run' dropdown button and click 'Debug', this should start the tacker server with debug points enabled. You can now start your code debugging. Let me know if this helped.


Revision history for this message
hwc (1137463337-p) said :

Thanks Sripriya, that solved my question.