]> git.proxmox.com Git - pve-manager.git/commit
pveproxy: allow to request debug sources directly over GET parameter
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Jul 2019 13:06:34 +0000 (15:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Jul 2019 13:07:41 +0000 (15:07 +0200)
commitc195a3c2d6c4cdfa120366e3b144a6110bd649e8
tree661fdc0e9ba9293905c54cb67839bf1a4c6ff9c1
parent77a8d952e0fc651681f731eab4b94ff2e963f784
pveproxy: allow to request debug sources directly over GET parameter

Avoids the need to stop the current pveproxy and restart it in debug
mode, if one wants to get the debug un-minified sources for ExtJS,
for example.

For a local PVE instance the following URL would ensure you load the
debug sources:
https://localhost:8006/?debug#v1:0:18:4:25:19::8:20:28

For convenience allow to omit the parameters value, and default to
true, iow, ?debug and ?debug=1 are the same, one could force it off -
even if the server was started in debug mode - by using ?debug=0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Service/pveproxy.pm