Debug webpack-dev-server application inside Docker container
Have a look at your config and make sure you include the program
field. And point it to the right file under node_modules
.
"program": "${workspaceRoot}/node_modules/webpack-dev-server/bin/webpack-dev-server.js"
That should get you going.
If you want more insight into this, there's a longer conversation that you might find useful - check out this comment on the main webpack-dev-server GitHub repo.