DEV Community

Discussion on: How to debug Node.js in a Docker container

Collapse
 
sirhennihau profile image
Sir hennihau

"start": "nodemon --inspect=0.0.0.0 source/index.ts",

throws

[nodemon] starting ts-node --inspect=0.0.0.0 source/index.ts
/app/node_modules/arg/index.js:90
throw err;
^

Error: Unknown or unexpected option: --inspect

any idea how to fix it?

Collapse
 
hypeofpipe profile image
Volodymyr V.

What's your version of nodemon?