Note: Untested
You could add the following code to both ExecuteQuery2 and ExecuteBatch2 of the RDCHandler class module of the jRDC2 source code:
#If Debug
Dim sb As StringBuilder
sb.Initialize
sb.Append($"Query: ${Main.rdcConnector1.GetCommand(cmd.Name)}"$)
Dim first As Boolean = True
For Each parameter As Object In cmd.Parameters
If first Then
sb.Append($" Parameter(s): ${parameter}"$)
first = False
Else
sb.Append($", ${parameter}"$)
End If
Next
Log(sb.ToString)
#End If
In ExecuteQuery2, place it after
Dim cmd As DBCommand = m.Get("command")
In ExecuteBatch2, place it in the loop that execute the commands, after
For Each cmd As DBCommand In commands