Debugging

Especially when using events it can become quite difficult to keep a proper insight over your scripts. The debug mode, that can be started via the throttle, is a great way to test your scripts without the need of triggering events on your physical layout.

Enabling

In the automation tab you can enter debug mode. As soon as debug mode is enabled there is no longer a real connection to your command station: Model Train Script emulates your command station.

While in debug mode the track power button has been replaced by an "ant" in the top right corner. Tapping the "ant" will end debug mode.

Interaction

In debug mode not only the accessories can be controlled, but also the feedback modules. This way you can simulate feedback events. If you tap on track with a feedback sensor configured you can specify if active and (if supported) an occupied vehicle address.

Recording

Sometime you need a sequence of interactions to test your automation. To prevent having repeat yourself multiple times you can record the interactions with the record button on top. Once a recording has been completed in can be played back. Currently only one recording is supported, the recording is not persistent.

Last updated

Was this helpful?