Debugger.getScriptSource

Returns source for the script with given id.

{
  "name": "getScriptSource",
  "parameters": [
    {
      "name": "scriptId",
      "$ref": "Runtime.ScriptId",
      "description": "Id of the script to get source for."
    }
  ],
  "returns": [
    {
      "name": "scriptSource",
      "type": "string",
      "description": "Script source."
    }
  ],
  "description": "Returns source for the script with given id."
}