Fortinet white logo
Fortinet white logo

Script Reference Guide

Debug(str)

Debug(str)

Prints the debug information when the virtual server is using HTTP scripting.

Syntax

debug(str);

Arguments

Name Description

str

A string which will be printed.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
debug(“http request method is %s.\n”, HTTP:method_get())
}

Supported Version

FortiADC version 4.3.x and later.

Debug(str)

Debug(str)

Prints the debug information when the virtual server is using HTTP scripting.

Syntax

debug(str);

Arguments

Name Description

str

A string which will be printed.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
debug(“http request method is %s.\n”, HTTP:method_get())
}

Supported Version

FortiADC version 4.3.x and later.