public boolean isDebugModeForCartridge() {
        final String code = cartridgeInfo == null || cartridgeInfo.getCartridgeFile() == null ? null
                : cartridgeInfo.getCartridgeFile().code;
        return !StringUtils.isBlank(code) && Settings.enableFeatureWherigoDebugCartridge(code.trim());
    }
From OpenWIG Doku:
Issues a command
<p>
This function should issue a command (SaveClose, DriveTo, StopSound, Alert).
main/src/main/java/cgeo/geocaching/wherigo/WherigoGame.java