Pycharm remote debugging openstack graphic tutorial,

Source: Internet
Author: User

Pycharm remote debugging openstack graphic tutorial,

Today, I want to talk about how to remotely debug openstack. The first tool we use is Pycharm.

1. first introduce the environment

My openstack is installed with rdo in one click and installed on a centos Virtual Machine. the IP address of the virtual machine is 192.168.102.129.

2. creation process

First, load the remote python interpreter. For example, if your openstack is installed on a virtual machine, it is the python on your virtual machine. Here we take remote debugging of nova as an example.

2.1 create a project path first

2.2 load the remote Interpreter

Set remote

2.3 set path strength ing

2.4 download source code to your local device

Click the icon in red to display the following information:

Right-click to download the local code.

Then the code will be synchronized locally.

2.5 start the debugging process

The following uses the nova-api as an example. Therefore, we need to copy the nova-api startup code to a local project and test the nova-api under the source code of the virtual machine, must be consistent with the local code

2.6 modify source code settings for debugging

The startup process parameter is not required to modify the source code.

This allows debugging.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.