---
title: "Class ScriptDebugResult"
slug: "scripting--stylelabs.m.scripting.types.v1_0.debugging.scriptdebugresult"
abstract: ""
---
# Class ScriptDebugResult

Defines a script debug result model.

## Inheritance

object

ScriptDebugResult

## Namespace: StylelabsStylelabs.MStylelabs.M.ScriptingStylelabs.M.Scripting.TypesStylelabs.M.Scripting.Types.V1_0Debugging

## Assembly: Stylelabs.M.Scripting.Types.dll

## Syntax

```csharp
public class ScriptDebugResult
```

## Properties

### Exception

Gets or sets the script exception if any.

#### Declaration

```csharp
public Exception Exception { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| Exception |  |

### Result

Gets or sets the output.

#### Declaration

```csharp
public JToken Result { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| JToken |  |

### StatusCode

Gets or sets teh status code.

#### Declaration

```csharp
public HttpStatusCode? StatusCode { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| HttpStatusCode |  |

### Target

Gets or sets the target.

#### Declaration

```csharp
public ClientDebugEntityInfo Target { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [ClientDebugEntityInfo](https://doc.sitecore.com/ch/en/developers/api-reference/scripting--stylelabs.m.scripting.types.v1_0.debugging.clientdebugentityinfo.html) |  |
