{"id":15877931,"url":"https://github.com/hubmartin/vscode-zephyr-debug","last_synced_at":"2026-03-18T17:44:32.400Z","repository":{"id":226416700,"uuid":"768528997","full_name":"hubmartin/vscode-zephyr-debug","owner":"hubmartin","description":"vscode-zephyr-debug","archived":false,"fork":false,"pushed_at":"2024-03-07T12:41:54.000Z","size":196,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T11:03:00.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/hubmartin.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":"2024-03-07T08:54:45.000Z","updated_at":"2024-03-07T10:39:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"46427830-a439-4549-9339-261aa6b70258","html_url":"https://github.com/hubmartin/vscode-zephyr-debug","commit_stats":null,"previous_names":["hubmartin/vscode-zephyr-debug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hubmartin/vscode-zephyr-debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmartin%2Fvscode-zephyr-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmartin%2Fvscode-zephyr-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmartin%2Fvscode-zephyr-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmartin%2Fvscode-zephyr-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubmartin","download_url":"https://codeload.github.com/hubmartin/vscode-zephyr-debug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmartin%2Fvscode-zephyr-debug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29443452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T10:51:12.367Z","status":"ssl_error","status_checked_at":"2026-02-14T10:50:52.088Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-06T02:04:54.777Z","updated_at":"2026-02-14T11:34:48.581Z","avatar_url":"https://github.com/hubmartin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCode Zephyr debug tasks and settings\n\nUse this script to debug HARDWARIO CHESTER projects with `cortex-debug` and J-Link debugger.\n\n[![](screenshot.png)](screenshot.png)\n\n## Instructions\n\n1. Install `cortex-debug` in VSCode\n   (Ctrl+P, paste `ext install marus25.cortex-debug`)\n2. Copy or merge `.vscode` to your project root directory\n3. Copy `debug.conf` to your project directory (next to your `prj.conf`). This will disable some optimization when you run `Debug Build` later.\n4. In `settings.json` set the path to Zephyr SDK and the project path (location, where you run `west build`)\n5. Debugging with J-Link needs `CONFIG_CTR_BLE=n` to disable MCUBoot, there is some issue that cortex-debug doesn't jump correctly to the ELF entry point.\n6. Press `F1`, search for `Tasks: Run Task` and select `Debug Build`.\n7. Press `F5` to start a debugger.\n8. RTT CHESTER Log is opened in Terminal (cortex-debug doesn't allow second port to show Shell on port 0 at the same time, you have to edit `launch.json`)\n\nScripts are tested on Ubuntu. On Windows, you probably have to change every `/` to `\\\\`.\n\n## TODO\n\n- Add SVD files\n- Fix the Mcuboot/BLE build not working with the debugger\n- Use both RTT ports for shell and logs\n\n## Sources\n\n- https://blog.golioth.io/how-to-configure-vs-code-for-zephyr-development/\n- https://medium.com/home-wireless/vscode-and-the-lora-e5-part-3-eb5238a40a72","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmartin%2Fvscode-zephyr-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubmartin%2Fvscode-zephyr-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmartin%2Fvscode-zephyr-debug/lists"}