I'm new to nodeJs and want to debug a NodeJs app and since mostly developing java apps, installed Eclipse for java developers 2020-06. I can run the app by write clicking on package.Json and choose run as> npm. but when I wanted to debug this app, and opend debug as, can not find npm launch configuration. I have Node program in "debug As" menu instead, but if I click on that, I'll get 'Url must be a string error.
D:\workspace\.metadata\.plugins\org.eclipse.wildwebdeveloper.embedder.node\node-v14.15.4-win-x64\node.exe index.js
D:\dclm\dclm-customer-interaction-worker\dclm\node_modules\url-join\lib\url-join.js:12
throw new TypeError('Url must be a string. Received ' + strArray[0]);
^
TypeError: Url must be a string. Received undefined
at normalize (D:\dclm\dclm-customer-interaction-worker\dclm\node_modules\url-join\lib\url-join.js:12:13)
at D:\dclm\dclm-customer-interaction-worker\dclm\node_modules\url-join\lib\url-join.js:75:12
at Object.<anonymous> (D:\dclm\dclm-customer-interaction-worker\dclm\src\config.js:13:21)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
Thanks.