From 37b1a8bf3474c21cf8697c60350b3c772ab25159 Mon Sep 17 00:00:00 2001 From: Aveline <352441+ym@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:11:28 +0200 Subject: [PATCH] docs: update pprof section of DEVELOPMENT.md (#802) --- DEVELOPMENT.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d95db77..c7984ce 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -301,13 +301,14 @@ export JETKVM_PROXY_URL="ws://" ### Performance Profiling -```bash -# Enable profiling -go build -o bin/jetkvm_app -ldflags="-X main.enableProfiling=true" cmd/main.go +1. Enable `Developer Mode` on your JetKVM device +2. Add a password on the `Access` tab +```bash # Access profiling -curl http://:6060/debug/pprof/ +curl http://api:$JETKVM_PASSWORD@YOUR_DEVICE_IP/developer/pprof/ ``` + ### Advanced Environment Variables ```bash