Since I am coming from php world ( Xdebug remote with ssh tunneling via PhpStorm), it would be best to ask via example.
I want to debug btrfs snapshot rollback feature.
-Setup a breakpoint in function volume_snapshot_rollback from PVE/Storage/BTRFSPlugin.pm
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg18777.html
-Click in Proxmox GUI the RollBack button
-Step in into the function volume_snapshot_rollback ( on remote debug client), run it step by step, watching the values and so on.
Thanks!
I want to debug btrfs snapshot rollback feature.
-Setup a breakpoint in function volume_snapshot_rollback from PVE/Storage/BTRFSPlugin.pm
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg18777.html
-Click in Proxmox GUI the RollBack button
-Step in into the function volume_snapshot_rollback ( on remote debug client), run it step by step, watching the values and so on.
Thanks!
Last edited: