简体   繁体   中英

Debugging git packages given in requirement.txt file for application hosted on Cloud Foundry

I am hosting a Django application on Cloud Foundry. In requirement.txt file, I am adding my git code (as a package). I have written some print statements to debug my package. Where will I see those print statements.

Or

How Can I debug a git package I am adding in requirement.txt file.

I need to check where my code is failing.

I wanted to use a git package in my application. I added it in requirement.txt file and hosted my application on Cloud Foundry. But that package is failing somewhere. So, I wanted to debug where it is failing. I downloaded the package and added print statements in the package code. How can I see those print statements. Or what is the way I can debug, where that package is failing.

I am able to see the print statements in my "cf logs app --recent"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM