Create a
Node.js
debug configuration
and use
index.js
as
Node parameters
.