Skip to content

Base configuration for using VSCode's Debugger as a REPL for TypeScript

Notifications You must be signed in to change notification settings

jaredhughes/vscode-typescript-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode TypeScript REPL

Requirements

  • VSCode
  • Node >= 8.15
  • Yarn

Setup

  • Run yarn to install dependencies
  • Open project in VSCode

Usage

VSCode Debug

  • Open src/index.ts
  • ⇧⌘D to open Debug panel
  • ⇧⌘Y to open Debug Console
  • In debug options dropdown, select "Debugger Examples" and F5 or click "Debug ▷"

assets/debug-repl.gif


Terminal/Console Watch Mode

  • Open src/index.ts
  • Open VSCode terminal
  • Run yarn start
  • Edit and save file changes, restarting nodemon and logging any new console messages

assets/console.gif

About

Base configuration for using VSCode's Debugger as a REPL for TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published