Releases: libondev/debugger-for-console
Releases · libondev/debugger-for-console
v0.20.0
v0.18.0
Support multiple placeholders to support a higher degree of customization. Now you can output a log format with a custom style in the following ways.
{
// Cancel the output of other information to provide better customization support.
"debugger-for-console.onlyVariable": "enable",
"debugger-for-console.wrappers": {
"javascript": "console.error('%c {VALUE}', 'color: red', {VALUE})"
}
}v0.16.1
Now you can streamline your variable name and file path by enabling the' ellipsis' attribute (enabled by default, and turned off by using debugger-for-console.ellipsis: false if you don't like it).
Q: When will it be activated?
A: When the file path/printed variable name length > = 8, it will be reduced.
现在可以通过启用
ellipsis属性来精简你的变量名以及文件路径(默认启用,如果您不喜欢可以使用debugger-for-console.ellipsis: false来关闭)
Q: 什么时候会触发?
A: 当文件路径或者变量名的长度 >= 8 的时候中间的内容会被替换为...
Before:
console.info('🍀components/WidgetWrapper.vue:17/(formModelInjectKey):\n', formModelInjectKey);Now:
console.info('🍀co...vue:17/(fo...Key):\n', formModelInjectKey);