CURL.GetDebugWithData
---------------------

Whether to include data in the debug log.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [6.2](newinversion62.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetDebugWithData"; curl ) 

**MBS**( **"CURL.GetDebugWithData";** /\* Whether to include data in the debug log. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns 0, 1 or error.

### Description

Whether to include data in the debug log.  
By default we don't include all the data in the debug log and just the messages.  
Returns 1 if data is included or 0 if not.  
### See also

- [CURL.GetDebugWithTime](CURLGetDebugWithTime.md)
- [CURL.SetDebugWithData](CURLSetDebugWithData.md)
- [CURL.SetDebugWithTime](CURLSetDebugWithTime.md)

### Example Databases

- [CURL/SFTP/CURL sFTP Upload File](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/SFTP/CURL%20sFTP%20Upload%20File.shtml#7ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 6.2pr10](https://www.mbsplugins.de/archive/2016-05-20/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 14th May 2016 , last changed 27th December 2023

  
[CURL.GetDebugMessages](CURLGetDebugMessages.md) - [CURL.GetDebugWithProgress](CURLGetDebugWithProgress.md)

[HTML Version](CURLGetDebugWithData.shtml)