Thank you for your explanations.
I read once again and carefully all the documents provided with FSUIPC.
Unfortunately, I have a little trouble understanding how to do it.
For example, for the A320 Fenix, I have several Lua scripts, for OVH (VRInsight), FCU (CP-Flight), MCDU (OpenCockpit), Saitek modules. It makes several thousand lines.
I also have a LUA script (cursor.lua) which brings the cursor back to the main MSFS window, to avoid losing control of the aircraft during landing, in case, unfortunately, the cursor goes into a gauge of a secondary screen.
All this works perfectly. So I don't use debug for normal flight.
It slows the scripts far too much.
Sometimes an aircraft update makes one button not to work more in the right way.
In this case, I look at the FSUIPC console during the flight, to see what is happening.
I do not use the log files, because it is not in real time.
It gives me satisfaction. Except that the cursor script, triggered every second, sends thousands of lines on the console.
If I have to change the FSUIPC options, restart and try to recreate the bug, this is not always possible.
So the only thing that bothers me is the log lines on the FSUIPC console that are sent by my "cursor.lua" script.
I do not understand how to get that with the available options (without restarting FSUIPC, and without a permanent trace) :
- In the fsuipc.ini file ?
- Parameter of "ipc.runlua (" cursor.lua" , ????)
- elsewhere.
Could you tell me ? Thanks in advance.