cubicweb #17219946 [idea] adapt "--pdb" of the pyramid command to actually be used on traceback inside pyramid [open]

Currently, the usage of "--pdb" on the pyramid command doesn't make that much sense since waitress/pyramid already has its internal exception mechanism for handling them and will never failed for them.

Maybe we can try to integrate it deeper and launch it on exception, we can base our work on sentry integration:

Right now we already have the pyramid debugtoolbar that, if installed and activated, already provide a traceback with shells debugging panel BUT this option could prove itself pretty useful in the ajax/with react situation where the "web" part of CW isn't used.

done in3.28.0
closed by<not specified>