internal/v4: add debug/pprof endpoint