在Debug Console中探索promise值

Jar*_*rda 6 javascript node.js visual-studio-code

在vscode中调试节点进程时,我可以在Debug Console中编写要评估的任意表达式.但是如果我写一个返回Promise的表达式,我不知道如何获得价值.例如,探索数据库中调用返回promise的模型函数的内容会很方便.

我试过了

Format.all(context.engine).then(formats => console.log(formats))

但仍然只获得Promise对象,而不是要解决的值.