Hi @Loic.Aigon , if you open UDT, find your connected app in the list and then click "Debug Script", then select/drop in your script file there and click "Debug", you should see the debugging window open where you can step through the code and see your console.log statements printed etc. I attached screenshots for reference. Also, be sure to also have InDesign running for it to show up in the connected apps list in UDT. When you run your script in InDesign directly, those console statements should be getting logged in a file under the <youruserid>/Library/Caches/UXPLogs folder.


Hope that helps,
Holly