aspect-build / aspect-workflows-template

Scaffolding for new Aspect workspace
1 stars 1 forks source link

[FR]: Intro to Bazel and Python could show more workflows #59

Closed alexeagle closed 1 month ago

alexeagle commented 2 months ago

What is the current behavior?

https://www.youtube.com/playlist?list=PLLU28e_DRwdu46fldnYzyFYvSJLjVFICd

Describe the feature

Doesn't show

jab commented 1 month ago

how to ./tools/ibazel run the binary for hot-code-reload

has now been done - great video.

Before closing this, it would also be worth showing how to add a break point in vscode that actually gets hit when you “bazel run” or “test” a corresponding target.

alexeagle commented 1 month ago

I'm waiting on a fix before doing a video on editors. Probably also ran out of time to work on this freebie project, back to paid work...

jab commented 1 month ago

In case it's helpful, I took a hint from https://stackoverflow.com/a/72448621 and was able to get VSCode's Python Debugger working (so VSCode can hit breakpoints set via its UI when running the app via Bazel): https://github.com/jab/shorty/commit/d796dc8058dbb251eb4d39ad6f6ef6297300640f

Screenshot 2024-06-23 at 3 10 52 PM

It's not the most seamless developer experience ever, but I think it's the best that can be done?

In addition to funding, curious what fix you're waiting for before doing a video on editors.

alexeagle commented 1 month ago

I'd like to debug a test as well, which means we need py_pytest_main generated. @jbedard has the change ready!