How to use the debug function from util

Find comprehensive JavaScript util.debug code examples handpicked from public code repositorys.

393
394
395
396
397
398
399
400
401
402

`console.error` 的过时前身。


<div id="debug" class="anchor"></div>
## util.debug(string)

> 稳定度:0 - 已废弃:使用 [console.error()](../console/class_Console.md#consoleerrordata-args) 代替。

`console.error` 的过时前身。
fork icon21
star icon99
watch icon2

219
220
221
222
223
224
225
226
227
228
Node.js modules. The community found and used it anyway.

It is deprecated and should not be used in new code. JavaScript comes with very
similar built-in functionality through [`Object.assign()`].

### util.debug(string)
<!-- YAML
added: v0.3.0
deprecated: v0.11.3
-->
fork icon0
star icon6
watch icon1