IntelliJ DEBUG simulatinon problem

Hello everyone,

I defined a val in my simulation as follows (I use the latest version of gatling):

val request = StringBody("""<soap:Envelope xmlns:dico="http://www.erdfdistribution.fr/linky/types/dico" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v1="http://www.erdfdistribution.fr/linky/types/smc/parametragec/v1">
                           <soap:Header/>
                            <soap:Body>
                         ...
                             </soap:Body>
                          </soap:Envelope>""")

How could I print the stringbody or watch it when running debug? 
I tried "println(request)" and println(request.toString()), both of the output "<function1>"
On debugging I can't find out the SOAP body in variable "request" neither...

Could anybody help? Thanks a lot!

val getRequest = group(“Get request”) {

exec(session => {
println("Request is = " + request)
session
})

Thanks a lot!
But I still coun’t see the Stringbody.The objects that I can see are GroupBuilder and SessionHookBuilder…

Note:
a solution here:
https://groups.google.com/forum/#!topic/gatling/CdWsoSiqSSc

title :

output HTTP response to simulation.log