Skip to content

Commit 716e754

Browse files
authored
fix: update pprof port and default URL in arduino-app-cli task (#702)
1 parent 527103e commit 716e754

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Taskfile.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,15 @@ tasks:
162162
- task arduino-app-cli:build:local
163163
- ./build/arduino-app-cli daemon --port 6060
164164

165+
# To to forward a port, using ssh, you can use this command:
166+
# ssh -L 8800:localhost:8800 arduino@<BOARD_IP>
165167
arduino-app-cli:pprof:
166168
desc: Open pprof UI
167169
cmds:
168-
- go tool pprof -http=:8080 {{ .URL }}/debug/pprof/{{ .TYPE }}
170+
- go tool pprof -http=:8084 {{ .URL }}/debug/pprof/{{ .TYPE }}
169171
vars:
170172
TYPE: '{{.TYPE | default "heap"}}' # goroutine, heap, mutex
171-
URL: '{{ .URL| default "http://localhost:6060" }}'
173+
URL: '{{ .URL| default "http://localhost:8800" }}'
172174

173175
adbd:start:
174176
desc: interact with adbd

0 commit comments

Comments
 (0)