The easiest way to get started is clone the github repo on a VM with devstack 
running.  You can then run the django test server 
http://docs.openstack.org/developer/horizon/ref/run_tests.html#id13 using 
"--runserver" this horizon instance will use the devstack keystone, nova, etc 
services by default.  Once you have the test server running, you will see log 
output on the command line.  You will also see output to stdout there as well.  
Additionally, if you know where you want to start debugging, you can place 
'import pdb; pdb.set_trace() on the line where you want to break and drop into 
the pdb debugger.

David

From: nishant kumar [mailto:[email protected]] 
Sent: Friday, April 18, 2014 1:35 AM
To: [email protected]
Subject: [Openstack] Debugging of horizon code

Hi All,
I am trying to debug the horizon code available by github,for that i followed 
the guide given by openstack on docs.openstack.org/developer/horizon/index.html 
.but i am not getting the idea how to debug a django project.So can anyone tell 
me the exact way to do so.o
Thanx in advance.
Nishant kumar
Tcs-mumbai
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to