feat: add make start-debug

This commit is contained in:
Carlos Florêncio
2026-02-08 12:27:38 +00:00
parent a70de7da11
commit 8f2e2ff6b8
4 changed files with 28 additions and 11 deletions
+5 -1
View File
@@ -127,12 +127,16 @@ start:
@$(MAKE) -s build-web-quiet
$(call success,Build complete)
$(call phase,Starting Server)
@cd $(APPS_DIR) && $(PNPM) -C cli dev -- start $(if $(filter 1 true yes,$(VERBOSE)),--verbose,)
@cd $(APPS_DIR) && $(PNPM) -C cli dev -- start $(if $(filter 1 true yes,$(VERBOSE)),--verbose,) $(if $(filter 1 true yes,$(DEBUG)),--debug,)
.PHONY: start-verbose
start-verbose:
@$(MAKE) start VERBOSE=1
.PHONY: start-debug
start-debug:
@$(MAKE) start DEBUG=1
.PHONY: build-backend
build-backend:
@printf "$(CYAN)Building backend...$(RESET)\n"