| # diagnosticsDir method | |
| *[<Null safety>](https://dart.dev/null-safety)* | |
| [PseudoDir](../../package-fuchsia_vfs_vfs/PseudoDir-class.md) diagnosticsDir | |
| () | |
| <p>return diagnostics directory which can be used to publish debug info to /hub</p> | |
| ## Implementation | |
| ```dart | |
| vfs.PseudoDir diagnosticsDir() { | |
| _ensureNotClosed(); | |
| return _diagnostics; | |
| } | |
| ``` | |