Skip to content

Commit 13dae27

Browse files
committed
update doc for debug mode
1 parent 0da97e5 commit 13dae27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

source/api/global-api.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ You can modify them directly, for example:
3434
Vue.config.debug = true // turn on debugging mode
3535
```
3636

37-
Example for changing interpolation delimiters:
37+
**Debug Mode**
38+
39+
When `Vue.config.debug` is set to true, Vue will automatically use synchronous mode and throw a `debugger` statement when there is a warning. This enables the user to inspect the full stack trace in browser dev tools.
40+
41+
<p class="tip">debug mode is not available in the minified production builds.</p>
42+
43+
**Changing Delimiters**
44+
45+
When the delimiters are set for text interpolation, the delimiters for HTML interpolation will be generated by adding one outer-most symbol on both sides:
3846

3947
``` js
4048
Vue.config.delimiters = ['(%', '%)']

0 commit comments

Comments
 (0)