docs: update pprof section of DEVELOPMENT.md (#802)
Some checks failed
build image / Build (push) Failing after 1s
golangci-lint / lint (push) Failing after 0s
ui-lint / UI Lint (push) Failing after 0s

This commit is contained in:
Aveline 2025-09-12 11:11:28 +02:00 committed by GitHub
parent ca8b06f4cf
commit 37b1a8bf34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -301,13 +301,14 @@ export JETKVM_PROXY_URL="ws://<IP>"
### 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://<IP>:6060/debug/pprof/
curl http://api:$JETKVM_PASSWORD@YOUR_DEVICE_IP/developer/pprof/
```
### Advanced Environment Variables
```bash