→Debug commands: update for build 24041 (added logFile command)
Line 7,952:
Line 7,952:
* <samp>debug iq (O)128</samp> shows a pufferfish (object 128);
* <samp>debug iq (O)128</samp> shows a pufferfish (object 128);
* <samp>debug iq FLAVORED_ITEM Wine (O)128</samp> shows Pufferfish Wine.
* <samp>debug iq FLAVORED_ITEM Wine (O)128</samp> shows Pufferfish Wine.
+
|-
+
| <samp>logFile</samp>
+
| Begin writing debug messages to a log file at <samp>%appdata%/StardewValley/ErrorLogs/game-latest.txt</samp> to simplify troubleshooting. You can also enter <samp>/logtext</samp> into the in-game chatbox to enable it.
+
+
This does nothing if SMAPI is installed, since the debug messages are already saved to SMAPI's log.