conan-io / conan-io/docs

[question] How could I debug the conanfile.py stages (e.g. via pdb / PyCharm / idle / wing ide / etc)

Open
#3,195 7 comments 7 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

I want to debug the Python side of conan recipe and check the particular stages of my recipe. How could I start debugging or attaching to `conan create` / `conan package` / another stage using the Python tooling? (I thought that this information exists in [this section](https://docs.conan.io/en/latest/using_packages/debugging.html) of the Conan's documentation, but didn't found it :( )

Could you please also add this answer to the documentation?

Thanks in advance.

- [x] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.