docs: Explain how to debug unit tests

Merged Robert Dyer requested to merge psybers/pitivi:debug_tests into master

This fixes issue #2604 (closed) by updating the developer documentation to explain how to debug unit tests. It also required modifying the main test file to look for the PITIVI_VSCODE_DEBUG environment variable and, if present, starting the pydebug listener.

Merge request reports