Make temporary generated files optional and more accessible.

Description

Files generated during pdf export are useful for debugging but aren't needed for the everyday user. This request has two parts:
1. Make temporary file generation optional for users (disabled by default).
This requires making it configurable in the preferences screen.
2. To make these files more useful for debugging these should be output along side the exported file, not in the temp file directory of the os.

Environment

None

Assignee

Connor Petty

Reporter

Connor Petty

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

No

Components

Fix versions

Priority

Minor
Configure