Quick answer

Save terminal errors into a log file so you can compare problems, ask for help, or fix scripts without losing the output.

Start here when Debug Logs matches your screen and you need a safe next step.

For Debug Logs, focus on files, paths, storage and backups and use the output to decide the next small fix instead of reinstalling everything.

What to check

Copyable command

For Debug Logs, replace placeholders only when they appear in the command.

python script.py 2>&1 | tee debug.log
tail -n 80 debug.log
grep -i "error" debug.log

Read the output

  1. python script.py 2>&1 | tee debug.log — runs the script directly so the first traceback can be read for Debug Logs.
  2. tail -n 80 debug.log — checks the part of the files, paths, storage and backups workflow that usually causes this issue for Debug Logs.
  3. grep -i "error" debug.log — checks the part of the files, paths, storage and backups workflow that usually causes this issue for Debug Logs.

Fix in a safe order

  1. Save the Debug Logs output before editing files.
  2. Change one thing at a time while testing Debug Logs.
  3. If the Debug Logs error changes, read the new clue instead of repeating the old fix.

Common mistakes

Guide did not solve it?

If debug logs the file path still does not make sense, send a screenshot of pwd, ls, and the error through the Store.

Open Store / Get Help

Related Assistance pages