pnpm i
pnpm run dev
# [webpack-dev-server] Loopback: http://localhost:8080/
see https://github.com/microsoft/vscode-js-debug
- Open the Vs Code extensions view
(ctrl+shift+x)
and search for@builtin @id:ms-vscode.js-debug
- Right click on the JavaScript Debugger extension and Disable it.
- Search for
@id:ms-vscode.js-debug-nightly
in the extensions view. - Install that extension.
You can debug npm scripts by clicking the code lens shown in the package.json, or by running the Debug: Debug NPM Script command/
.