{"id":20008174,"url":"https://github.com/yusufss4/c-cpp-multi-file-structure-for-wsl","last_synced_at":"2026-05-25T16:01:36.140Z","repository":{"id":115719899,"uuid":"504896481","full_name":"Yusufss4/c-cpp-multi-file-structure-for-wsl","owner":"Yusufss4","description":"With this template it is possible to debug the C/C++ application through Visual Studio Code with WSL using Windows.","archived":false,"fork":false,"pushed_at":"2022-06-18T16:44:43.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T01:31:01.719Z","etag":null,"topics":["cpp","vscode","wsl"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/Yusufss4.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-06-18T16:36:35.000Z","updated_at":"2022-06-20T10:01:08.000Z","dependencies_parsed_at":"2023-07-04T17:46:11.285Z","dependency_job_id":null,"html_url":"https://github.com/Yusufss4/c-cpp-multi-file-structure-for-wsl","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Yusufss4/c-cpp-multi-file-structure-for-wsl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yusufss4%2Fc-cpp-multi-file-structure-for-wsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yusufss4%2Fc-cpp-multi-file-structure-for-wsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yusufss4%2Fc-cpp-multi-file-structure-for-wsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yusufss4%2Fc-cpp-multi-file-structure-for-wsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yusufss4","download_url":"https://codeload.github.com/Yusufss4/c-cpp-multi-file-structure-for-wsl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yusufss4%2Fc-cpp-multi-file-structure-for-wsl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33482411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"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":["cpp","vscode","wsl"],"created_at":"2024-11-13T07:08:42.976Z","updated_at":"2026-05-25T16:01:36.115Z","avatar_url":"https://github.com/Yusufss4.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nWith this template it is possible to debug the C/C++ application through Visual Studio Code with WSL using Windows.\n\n# Steps \n\n1. First download WSL using this tutorial and continue from that. https://docs.microsoft.com/en-us/windows/wsl/setup/environment (No need to set the terminal.)\n2. Later use the tutorial named VsCode in WSL -\u003e https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-vscode\n3. Use that tutorial to install Git for WSL -\u003e https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-git\n4. Than use this tutorial to install required extensions/apps for C/C++ development and configs -\u003e https://code.visualstudio.com/docs/cpp/config-wsl\n5. Follow this tutorial for the C/C++ debugging in the Visual Studio Code -\u003e https://dev.to/talhabalaj/setup-visual-studio-code-for-multi-file-c-projects-1jpi\n\nIn the end of the step 5 you will have exact files / or you can just directly download the files from here instead of doing the step five. \n\n# End\nNow you can press F5 for debugging the C/C++ application that runs in WSL.\n\n# Note\n## Executible File Name\nNote that in the launch.json file; \\\n`\"program\": \"${workspaceFolder}/bin/main\",` \\\nYou can change the executible file name by changing the \"main\". \\\nAlso you need to change the name from the make file in the code below. \\\n`EXECUTABLE  := main`\n\n## Doesnt work on W10/W11 without WSL. \nThis configurations are only working on WSL or Linux. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufss4%2Fc-cpp-multi-file-structure-for-wsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufss4%2Fc-cpp-multi-file-structure-for-wsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufss4%2Fc-cpp-multi-file-structure-for-wsl/lists"}