{"id":21953924,"url":"https://github.com/hydroshare/vscode","last_synced_at":"2026-05-09T14:46:32.413Z","repository":{"id":106575666,"uuid":"458227991","full_name":"hydroshare/vscode","owner":"hydroshare","description":"Git Submodule for vscode debug of hydroshare Docker containers","archived":false,"fork":false,"pushed_at":"2025-03-10T23:16:34.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-11T00:23:26.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hydroshare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T14:53:31.000Z","updated_at":"2025-03-10T23:16:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a1045a6-02d9-4e04-b566-487fa042381f","html_url":"https://github.com/hydroshare/vscode","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"5928cd5da235dd8564a999ac3f42009cdb5ea48e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydroshare%2Fvscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydroshare%2Fvscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydroshare%2Fvscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hydroshare%2Fvscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hydroshare","download_url":"https://codeload.github.com/hydroshare/vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245001640,"owners_count":20545291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T07:14:20.559Z","updated_at":"2026-05-09T14:46:27.377Z","avatar_url":"https://github.com/hydroshare.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode hydroshare debug\n\nRepo for vscode debug of Hydroshare Docker containers\n\n## Instructions to use\n1. You must first clone [Hydroshare](https://github.com/hydroshare/hydroshare) if you haven't\n2. Run [local-dev-first-start-only](https://github.com/hydroshare/hydroshare/blob/develop/local-dev-first-start-only.sh) if you haven't. No need to do the `docker-compose up`, we will modify that step so that it uses a custom .yml file\n3. cd into your new hydroshare dir and clone this repo: `git clone git@github.com:hydroshare/vscode.git .vscode` NOTE: yes, that `.vscode` is supposed to be a hidden dir. See https://code.visualstudio.com/docs/editor/debugging#_launch-configurations.\n4. run `.vscode/configure-vscode-debug.sh` to create a required init-hydroshare-debug and **remove your hydroshare container** \u003c\u003c\u003c YES, it will remove your container!\n6. run `docker-compose -p hydroshare -f .vscode/docker-compose.debug.yml up` to build the new container and bring it up\n7. use vscode \"run and debug\" module to connect to the container and start debugging![image](https://user-images.githubusercontent.com/17934193/208769548-051c49d0-52e1-40f6-968b-ca863a1b385f.png)\n\n9. Add breakpoints in vs-code\n10. Browser-\u003e navigate to localhost:8000 and trigger your breakpoints\n\n## submodule\nYou can run this as a git submodule too but I don't think we want to checkin any of the submodule info into the hydroshare repo\n\nSo if you do this, just make sure you don't commit the added files to [Hydroshare](https://github.com/hydroshare/hydroshare)\n\nFrom your project root:\n- `git submodule add -f git@github.com:hydroshare/vscode.git .vscode`\n- `git submodule update --remote .vscode`\n- then follow all of the above instructions to use\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhydroshare%2Fvscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhydroshare%2Fvscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhydroshare%2Fvscode/lists"}