# Debug Tips Now that we have many requests in our test file, let's review some tips on how to debug the executed HTTP exchanges. ## Verbose Mode ### Using --verbose and --very-verbose for all entries We can run our test with [`-v/--verbose` option]. In this mode, each entry is displayed with debugging information like request HTTP headers, response HTTP headers, cookie storage, duration etc... ```shell $ hurl --verbose --no-output basic.hurl [1;34m*[0m [1mOptions:[0m [1;34m*[0m fail fast: true [1;34m*[0m insecure: false [1;34m*[0m follow redirect: false [1;34m*[0m max redirect: 50 [1;34m*[0m [1m------------------------------------------------------------------------------[0m [1;34m*[0m [1mExecuting entry 1[0m [1;34m*[0m [1;34m*[0m [1mCookie store:[0m [1;34m*[0m [1;34m*[0m [1mRequest:[0m [1;34m*[0m GET http://localhost:8080 [1;34m*[0m [1;34m*[0m Request can be run with the following curl command: [1;34m*[0m curl 'http://localhost:8080' [1;34m*[0m > [1;35mGET / HTTP/1.1[0m > [1;36mHost[0m: localhost:8080 > [1;36mAccept[0m: */* > [1;36mUser-Agent[0m: hurl/1.7.0-snapshot > [1;34m*[0m [1mResponse:[0m [1;34m*[0m < [1;32mHTTP/1.1 200[0m < [1;36mSet-Cookie[0m: JSESSIONID=361948EF00AA04CB6659954A8D3EBC9D; Path=/; HttpOnly < [1;36mX-Content-Type-Options[0m: nosniff < [1;36mX-XSS-Protection[0m: 1; mode=block < [1;36mCache-Control[0m: no-cache, no-store, max-age=0, must-revalidate < [1;36mPragma[0m: no-cache < [1;36mExpires[0m: 0 < [1;36mX-Frame-Options[0m: DENY < [1;36mContent-Type[0m: text/html;charset=UTF-8 < [1;36mContent-Language[0m: en-FR < [1;36mTransfer-Encoding[0m: chunked < [1;36mDate[0m: Wed, 17 Aug 2022 07:30:15 GMT < [1;34m*[0m [1;34m*[0m [1m------------------------------------------------------------------------------[0m [1;34m*[0m [1mExecuting entry 2[0m [1;34m*[0m [1;34m*[0m [1mCookie store:[0m [1;34m*[0m #HttpOnly_localhost FALSE / FALSE 0 JSESSIONID 361948EF00AA04CB6659954A8D3EBC9D [1;34m*[0m [1;34m*[0m [1mRequest:[0m [1;34m*[0m GET http://localhost:8080/not-found [1;34m*[0m [1;34m*[0m Request can be run with the following curl command: [1;34m*[0m curl 'http://localhost:8080/not-found' --cookie 'JSESSIONID=361948EF00AA04CB6659954A8D3EBC9D' [1;34m*[0m > [1;35mGET /not-found HTTP/1.1[0m > [1;36mHost[0m: localhost:8080 > [1;36mAccept[0m: */* > [1;36mCookie[0m: JSESSIONID=361948EF00AA04CB6659954A8D3EBC9D > [1;36mUser-Agent[0m: hurl/1.7.0-snapshot > [1;34m*[0m [1mResponse:[0m [1;34m*[0m < [1;32mHTTP/1.1 404[0m < [1;36mVary[0m: Origin < [1;36mVary[0m: Access-Control-Request-Method < [1;36mVary[0m: Access-Control-Request-Headers < [1;36mX-Content-Type-Options[0m: nosniff < [1;36mX-XSS-Protection[0m: 1; mode=block < [1;36mCache-Control[0m: no-cache, no-store, max-age=0, must-revalidate < [1;36mPragma[0m: no-cache < [1;36mExpires[0m: 0 < [1;36mX-Frame-Options[0m: DENY < [1;36mContent-Type[0m: text/html;charset=UTF-8 < [1;36mContent-Language[0m: en-FR < [1;36mTransfer-Encoding[0m: chunked < [1;36mDate[0m: Wed, 17 Aug 2022 07:30:15 GMT < [1;34m*[0m ... ``` Lines beginning with `*` are debug info, lines that begin with `>` are HTTP request headers and lines that begin with `<` are HTTP response headers. In verbose mode, HTTP request and response bodies are not displayed in the debug logs. If you need to inspect the request or response body, you can display more logs with [`--very-verbose`] option: ```shell $ hurl --very-verbose --no-output basic.hurl [1;34m*[0m [1mOptions:[0m [1;34m*[0m fail fast: true [1;34m*[0m insecure: false [1;34m*[0m follow redirect: false [1;34m*[0m max redirect: 50 [1;34m*[0m [1m------------------------------------------------------------------------------[0m [1;34m*[0m [1mExecuting entry 1[0m [1;34m*[0m [1;34m*[0m [1mCookie store:[0m [1;34m*[0m [1;34m*[0m [1mRequest:[0m [1;34m*[0m GET http://localhost:8080 [1;34m*[0m [1;34m*[0m Request can be run with the following curl command: [1;34m*[0m curl 'http://localhost:8080' [1;34m*[0m > [1;35mGET / HTTP/1.1[0m > [1;36mHost[0m: localhost:8080 > [1;36mAccept[0m: */* > [1;36mUser-Agent[0m: hurl/1.7.0-snapshot > [1;34m*[0m [1mRequest body:[0m [1;34m*[0m [1;34m*[0m [1mResponse:[0m [1;34m*[0m < [1;32mHTTP/1.1 200[0m < [1;36mSet-Cookie[0m: JSESSIONID=0B417BD5890C001B5B25A9B321FE4800; Path=/; HttpOnly < [1;36mX-Content-Type-Options[0m: nosniff < [1;36mX-XSS-Protection[0m: 1; mode=block < [1;36mCache-Control[0m: no-cache, no-store, max-age=0, must-revalidate < [1;36mPragma[0m: no-cache < [1;36mExpires[0m: 0 < [1;36mX-Frame-Options[0m: DENY < [1;36mContent-Type[0m: text/html;charset=UTF-8 < [1;36mContent-Language[0m: en-FR < [1;36mTransfer-Encoding[0m: chunked < [1;36mDate[0m: Wed, 17 Aug 2022 07:42:46 GMT < [1;34m*[0m [1mResponse body:[0m [1;34m*[0m [1;34m*[0m [1;34m*[0m
[1;34m*[0m [1;34m*[0m [1;34m*[0m