> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.nodedebuginfo/yarn.compiler.nodedebuginfo..ctor.md).

# NodeDebugInfo(string?,string)

Constructor in [NodeDebugInfo](/api/csharp/yarn.compiler/yarn.compiler.nodedebuginfo.md)

## Summary

Initialises a new instance of the NodeDebugInfo class.

```csharp
public NodeDebugInfo(string? fileName, string nodeName)
```

## Parameters

| Name              | Description                            |
| ----------------- | -------------------------------------- |
| `string` fileName | The file that the node was defined in. |
| `string` nodeName | The name of the node.                  |
