microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.37k stars 690 forks source link

how to debug the TaskWeaver in pycharm step by step ? #404

Closed pily1 closed 2 months ago

pily1 commented 2 months ago

hi everyone: I can lanuch the TaskWeaver in terminal use this command "python -m taskweaver -p ./project/",now I want to debug it step by step with pycharm ? how can I do it ?

liqul commented 2 months ago

This is quite staightforward. Create a new run profile, e.g., named 'taskweaver'.

Select module instead of script for the type and set the Working directory to the project folder.

image

Then, you can debug it step by step.

pily1 commented 2 months ago

think you,I get it