Skip to content

Commit bf4e17d

Browse files
committed
Updated to use node inspector & fix issue with debug not attaching
https://nodejs.org/en/docs/inspector/ Note that 0.0.0.0: came from microsoft/vscode#22306
1 parent 7aa14e9 commit bf4e17d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

developer-tools/nodejs-debugging/app/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var express = require('express');
2-
var expressHandlebars = require('express-handlebars');
2+
var expressHandlebars = require('express-handlebars');
33
var http = require('http');
44

55
var PORT = 8000;

developer-tools/nodejs-debugging/app/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2"
33
services:
44
web:
55
build: .
6-
command: nodemon --debug=5858
6+
command: nodemon --inspect=0.0.0.0:5858
77
volumes:
88
- .:/code
99
ports:

0 commit comments

Comments
 (0)