What constitutes a "script" or "library script" when configuring stepping for Python debugger in PyCharm?
I am working on a project that is set up like a library-- some of the code is in site-packages, some is just organized like a package. Consequently, I can only tell PyCharm "do not step into library scripts" (making it impossible to step through my code without setting breakpoints on every line) or turn that off and step through every conceivable line of line of code. I need something in between.
Is there a way to select the files/directories containing code I *want* to step through-- an affirmative selection or white-list-- instead of selecting what I *don't* want (black-listing)?
If I knew how PyCharm determined what was a "script" or "library script", I might be able to arrange the files appropriately. However, without any concrete definitions or documentation, I am reluctant to start rearranging things in hopes of stumbling on the right solution, if there, in fact, is one. Ideas, thoughts, suggestions? Thanks!
[unrelated comment: BTW, my department is trying to move away from PyCharm in favor of VS Code. I don't know what problem the management is trying to solve-- if it ain't broke, don't fix it. I think it boils down to not wanting to support another vendor when everything else is MS Azure. If MS hadn't been so insistent in coercing Office users to adopt Edge over Chrome by brute force, the VS Code play might not bother me so much. Still, I've been using PyCharm for the last 4 years and see no reason to change, particularly if the community and company are active and supportive.]
请先登录再写评论。