{"id":20098965,"url":"https://github.com/jream/typescript-debug-vscode","last_synced_at":"2025-08-25T21:03:43.278Z","repository":{"id":249439294,"uuid":"831511253","full_name":"JREAM/typescript-debug-vscode","owner":"JREAM","description":"Nothing but a plain config for TypeScript in VSCode ","archived":false,"fork":false,"pushed_at":"2024-07-20T19:44:00.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T16:48:44.940Z","etag":null,"topics":["typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/JREAM.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-07-20T19:12:37.000Z","updated_at":"2024-07-20T19:44:03.000Z","dependencies_parsed_at":"2024-07-20T20:49:49.792Z","dependency_job_id":null,"html_url":"https://github.com/JREAM/typescript-debug-vscode","commit_stats":null,"previous_names":["jream/typescript-debug-vscode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JREAM/typescript-debug-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JREAM%2Ftypescript-debug-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JREAM%2Ftypescript-debug-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JREAM%2Ftypescript-debug-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JREAM%2Ftypescript-debug-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JREAM","download_url":"https://codeload.github.com/JREAM/typescript-debug-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JREAM%2Ftypescript-debug-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272131793,"owners_count":24878986,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["typescript","vscode"],"created_at":"2024-11-13T17:07:21.421Z","updated_at":"2025-08-25T21:03:43.247Z","avatar_url":"https://github.com/JREAM.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Debug VSCode\n\nThis is just a simple project setup to show you howt to use VSCode with the built-in debugger in a starter Typescript project.\n\n### Clone \u0026 Install\n```bash\ngit clone https://github.com/JREAM/typescript-debug-vscode.git\ncd typescript-debug-vscode\nnpm install\n```\n\n### Example\n\n\u003e Note: I have TypeScript and TypeScript-Node installed globally. This is accomplished with `npm install -g typescript ts-node`\n\u003e\n![Screenshot](https://private-user-images.githubusercontent.com/145959/350719323-00af32dd-deb1-49ee-b0aa-8135a6225e50.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MDMxMzMsIm5iZiI6MTcyMTUwMjgzMywicGF0aCI6Ii8xNDU5NTkvMzUwNzE5MzIzLTAwYWYzMmRkLWRlYjEtNDllZS1iMGFhLTgxMzVhNjIyNWU1MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQxOTEzNTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZjE5N2ZmNzQwMWZlNDZmYzQzNzY2OGE1ZTg2ZTgwNzEwODcyZWZiMjlkMDI4OGZiYzlhMGI2ZTgzYzIzYTlhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XsCo57GTqxa-ldbXPSWznQvxwbD2KGZBoJa3aG1x-CE)\n\n\n## Project Commands\n\nThese are just reminders of using packages:\n\n- **tsc**: TypeScript Compiler _(From the TypeScript package)_\n- **ts-node**: TypeScript Node Runtime\n- `npm run dev` - will watch \u0026 compile for file changes of `src/index.ts`\n- `npm run build` - will compile files into `./js` in the `./dist` folder.\n\nIf you have the very handy [nodemon](https://nodemon.io/) package installed globally (recommended) `npm install -g nodemon` you can type:\n\n- `nodemon`: This will read the `nodemon.json` file and watch for all file changes under `src/`. This way you can save any file and it will reload the changes.\n\n\n## Configuration\n\n- The `.vscode` folder is included in git (might be hidden), follow instructions if you are stuck.\n- The `tsconfig.json` sets the `outDir: ./dist` so `.js` files don't pollute the `.ts` files when you run `npm run build` or `tsc`.\n- Required `devDependencies`, used in `.vscode/launch.json`\n  - `ts-node`\n  - `tsconfig-paths`\n\n## Manual Configuration\n- Create a new `.vscode/launch.json` file by:\n  - \u003ckbd\u003eCtrl+Shift+D\u003c/kbd\u003e and select _Create new Launch File._\n  - This creates a `.vscode` folder.\n\nAdd the following line in the `configurationto the file:\n\n```json\n\"runtimeArgs\": [ \"-r\", \"ts-node/register\", \"-r\", \"tsconfig-paths/register\" ],\n\"console\": \"integratedTerminal\",\n```\n\nIf you want to run the output in the `Integrated Terminal` \u003ckbd\u003eCtrl+~\u003c/kbd\u003e rather than the `Debug Console` \u003ckbd\u003eCtrl+Shift+Y\u003c/kbd\u003e change this:\n\n```json\n// Console is not needed unless you change it, default is internalConsole.\n\"console\": \"internalConsole\",\n\n// This will use the Terminal instead.\n\"console\": \"integratedTerminal\",\n```\n\n## Run in VSCode\n\n- Open the `src/index.ts` and add some **breakpoints** in the gutter.\n- Press `F5` or `Run \u003e Start Debugging`.\n- Also open your `Integrated Terminal` with \u003ckbd\u003eCtrl+~\u003c/kbd\u003e or the `Debug Console` \u003ckbd\u003eCtrl+Shift+Y\u003c/kbd\u003e for program output.\n\n\n---\n\n\u0026copy; 2024 MIT | [JREAM](https://jream.com) | Jesse Boyer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjream%2Ftypescript-debug-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjream%2Ftypescript-debug-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjream%2Ftypescript-debug-vscode/lists"}