chilly-planet-20019
02/21/2024, 6:56 PMlaunch.json
file for debugging local workflow runs? I'm close, but an having trouble avoiding hard-coding the path to pyflyte
when it's in a virtual environment.
Example below. I've tried env:VIRTUAL_ENV
and other things I found online but no luck :(
{
"version": "0.2.0",
"configurations": [
{
"name": "Debugger: Flyte Workflow",
"type": "debugpy",
"request": "launch",
"program": "pyflyte", // How do we get the full path to this when it's in a virtualenv?
"console": "integratedTerminal",
"args": ["run", "src/workflows.py", "${command:pickArgs}"]
}
]
}