Skip to content

Commit 7342e42

Browse files
committed
Logging/debugging info
1 parent 9d64933 commit 7342e42

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/troubleshooting.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,18 @@ For example, if you're mapping 20+ fields for an Entry import, but it isn't work
2121

2222
### Logging
2323

24-
Feed Me create a log event for just about everything it does, notably errors, but other useful information. If you're experiencing issues or unexpected results with a Feed, consult the Logs tab first.
24+
Feed Me create a log event for just about everything it does, including errors and other status information. If you're experiencing issues or unexpected results with a Feed, consult the **Logs** tab first.
2525

2626
![The Logs tab](./screenshots/feedme-logs.png)
2727

2828
### Debugging
2929

30-
There is a special controller action to assist with debugging your feed, should you encounter issues, or errors during an import. The easiest way to get to this is clicking on the small 'bug' icon on the feeds index page (image below). The icon is placed in the Actions column on the far right, but only visible when [devMode](https://craftcms.com/docs/config-settings#devMode) is turned on.
30+
Feed Me includes a special view to assist with debugging your feed, should you encounter issues or errors during an import. With [devMode](https://craftcms.com/docs/config-settings#devMode) enabled, click the “gear” in the problematic feed’s row to expand its utility drawer, then click **Debug**.
3131

3232
![Feedme Overview](./screenshots/feedme-overview.png)
3333

34-
The output from this page will be in raw format, providing you with as much information as possible about your feed settings, field-mappings and data. If there are code exceptions, they'll appear on this page.
34+
Debug output will be a combination of [`print_r`](https://www.php.net/manual/en/function.print-r.php)-formatted objects and log messages, providing you with as much information as possible about your feed settings, field-mappings, and data. If exceptions occur while processing the feed, they’ll appear on this page, too.
35+
36+
::: warning
37+
Debugging a feed attempts to actually run the import, so make sure you have [backups](./feature-tour/creating-your-feed.md#backup) on, or are working in a disposable environment!
38+
:::

0 commit comments

Comments
 (0)