mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
36 lines
585 B
Markdown
36 lines
585 B
Markdown
---
|
|
title: KMManager.isDebugMode()
|
|
---
|
|
|
|
## Summary
|
|
|
|
The **`isDebugMode()`** method returns whether debugging of Keyman
|
|
Engine is enabled.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
KMManager.isDebugMode()
|
|
```
|
|
|
|
### Returns
|
|
|
|
Returns `true` if debugging is enabled, `false` otherwise.
|
|
|
|
## Description
|
|
|
|
Use this method to check if debugging of Keyman Engine is enabled.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `isDebugMode()`
|
|
|
|
The following script illustrate the use of `isDebugMode()`:
|
|
|
|
``` javascript
|
|
boolean isDebugEnabled = KMManager.isDebugMode();
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`setDebugMode()`](setDebugMode)
|