Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Points taken about benefits of run scripts for portability, reproducibility, CI, etc. I'm mostly just trying to find a way to debug arbitrary programs and run tests in the IDE.

It looks like this should be possible with tasks https://zed.dev/docs/tasks#variables but I haven't put enough time into figuring it out yet.

Maybe my use case is too specific, but I'll spell it out just in case: I try and open a Django project in Zed. I go to a test file. There's a > arrow next to the test to run or debug, but it will only run it with PyTest (I use unittest, but PyTest is backwards compatible, so w/e). When I try to run it, it fails because some environment variables I need are not set. I don't see how to configure them so I'm dead in the water.

I'd also love to run the Django server with a debugger attached. It's not clear to me how to do that. I haven't found the rights docs. Dead in the water again.

Maybe I need to spend more time exploring and reading the docs :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: