-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore options for interactive debugging #103
Comments
Dev containersYou can configure a dev container using a .json, but it's not clear how to translate the GHA yaml files to this format, or whether all the options even translate: ![]() You can customize these dev envs by adding "Features" to the config file, via the Marketplace window: ![]() PrebuildsPrebuilds are basically Codepsaces that have already been setup and installed with a particular configuration, reducing the time it takes to spin up a new Codespace: |
Potential solutions
|
Got a version of the rworkflows codespace working. Not sure how closely it mimics the GHA VM, but i'm at least able to do some debugging with conda: ![]() I also noticed that the Remaining issues:
|
I've set up a basic dev container config file for Also created a |
action-tmateAnother super useful avenue is
https://github.com/mxschmitt/action-tmate That's almost exactly what I'm looking for! Will test implementing after making some other upgrades to There's also: https://github.com/fawazahmed0/action-debug And this one that uses |
One weak point of CI/CD platforms that are runs remotely is that you can't directly debug in these environments.
However, running CI/CD on GitHub may offer some unique solutions to this as believe the GH Codespaces use the same VMs as GH Actions. Will explore this further and add to the
rworkflows
documentation if I find anything useful.Access your existing codespaces here:
https://github.com/codespaces
Quickly access a repo-specific Codespace with the following link format. However, it seems this version of the Codespace it quite limited as you can't use it to run code in the terminal (it prompts you do create a Codespace with a certain amount of compute and then generates it for you):
https://github.dev/neurogenomics/rworkflows
GH Codespaces docs
Pricing
The text was updated successfully, but these errors were encountered: