I am experimenting with unordered limited parallel execution in Node.js. I try to reproduce the codes in the book "Node.js Design Patterns". The code works perfectly when I run it without debugging. But when I try to debug the code in VScode I am getting the following error :
Error: ENOENT: no such file or directory, open 'urls.txt' {errno: -2, code: 'ENOENT', syscall: 'open', path: 'urls.txt', stack: 'Error: ENOENT: no such file or directory, open 'urls.txt'', …}
You can see the project setup here
You can clone the repo and try to reproduce and debug the project.