From b5ddd0d3bb9223058337fb9eee21b497879820cc Mon Sep 17 00:00:00 2001 From: Timo Volkmann Date: Thu, 9 Sep 2021 11:53:24 +0200 Subject: [PATCH] Debug: Install Delve on 'make start-debug' --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6687cb145..42130010e 100644 --- a/Makefile +++ b/Makefile @@ -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)