You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Juan Picado edited this page Nov 11, 2025
·
28 revisions
This guidelines are meant to help you to debug verdaccio, you can debug a production version (installed from npm or docker) or the source code available on this repository. Feel free to amend changes on this document via issues or discussions.
Be aware of the two branches for development, the 6.x stands for the version 6 and stable, the master branch stands for the 8.x (experimental) version which is released as alpha and not ready for production.
7.x not in development, but should be same as 6.x guidelines
docker run -p 4873:4873 -p 9229:9229 -e NODE_OPTIONS='--inspect-brk=0.0.0.0' verdaccio/verdaccio
Open Chrome Dev Tools and load chrome://inspect/#devices and start debugging.
With a custom config.yaml file
Similar to this example, create a folder with two files, the config.yaml and the Dockerfile with this content.
FROM verdaccio/verdaccio:5
ADD docker.yaml /verdaccio/conf/config.yaml
Build the image with docker build -t verdaccio/verdaccio:local . and then run it docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio:local or with debug code.