Example project for debugging uncompiled Typescript code running on Docker container (docker-compose) using VS Code.
The sample application is using Express to provide a single page.
- Node.js (v10.14.2+)
- Docker (18.09.2+)
- docker-compose (1.23.2+)
-
Clone this repository on your local machine
git clone https://github.com/MitsuhideOhi/vscode-ts-node-debug-remotely.git
-
Run the Docker container
docker-compose up --build
-
Attach debugger by clicking run button
You can refer to my Blog post here .