WP Strategy Debugger

plugins.wp.strategydebugger.range (DATA)

range ::= { "offset" : number , "length" : number }

plugins.wp.strategydebugger.target (DATA)

target ::= { "part" : part , "term" :? term }

plugins.wp.strategydebugger.field (DATA)

field ::= { "label" : string , "title" : string , "value" : string , "debug" : string , "target" : target }

plugins.wp.strategydebugger.severity (DATA)

severity ::= "Ok" | "Ignored" | "Warning" | "Error"

plugins.wp.strategydebugger.diagnostic (DATA)

diagnostic ::= { "message" : string , "severity" : severity , "range" :? range }

plugins.wp.strategydebugger.alternative (DATA)

alternative ::= { "location" :? range , "diagnostics" : diagnostic [] , "fields" : field [] }

plugins.wp.strategydebugger.debug (GET)

Debug strategy

input ::= { input… }

output ::= alternative []

Input Format Description
"strategy" (opt.) string Strategy text
"node" (opt.) node Node to check strategy on (optional)