SYSTEM$BEGIN_DEBUG_APPLICATION
functionsupportedNative apps, listings & sharingpreviewEnables session debug mode for a Snowflake Native App.
Syntax
supportedpartialnot supportednot scored
SYSTEM$BEGIN_DEBUG_APPLICATION( '<app_name>' [ , '<execution_mode>' ] )
Parameters
| Name | Required | Description |
|---|---|---|
'app_name' | required | The name of the app on which session debug mode is being enabled. |
'execution_mode' | required | The behavior of commands run during session debug mode. Possible values are: 'AS_APPLICATION' (DEFAULT) All statements are executed as using the same privileges as the app. This mimics the behavior of the app in the consumer account. 'AS_SETUP_SCRIPT' All statements are executed using the same privileges as the setup script of the app. This allows providers to test the setup script using session debug mode. This function doesn’t support named arguments. |
Usage notes
- Providers can use this function to enable session debug mode on an app created using development mode. This allows providers to test the behavior of the app and setup script.