Debug: Install Delve on 'make start-debug'

This commit is contained in:
Timo Volkmann 2021-09-09 11:53:24 +02:00
parent d51f24bde9
commit b5ddd0d3bb

View file

@ -139,6 +139,7 @@ build-tensorflow-arm64:
docker build -t photoprism/tensorflow:arm64 docker/tensorflow/arm64
docker run -ti photoprism/tensorflow:arm64 bash
start-debug:
docker-compose exec -u root photoprism go install github.com/go-delve/delve/cmd/dlv@latest
docker-compose exec -u root photoprism dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec ./photoprism start
watch-js:
(cd frontend && env NODE_ENV=development npm run watch)