We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See attached screen shot. The promise argument shows as undefined everywhere but the console reveals the truth when you 'use' it.
The text was updated successfully, but these errors were encountered:
to reproduce:
when it breaks promise is shown as undefined
promise
*snippet
const rejectedPromise = new Promise((resolve, reject) => { reject('foo'); }); setTimeout(() => { rejectedPromise.catch(() => { console.log('handing error now'); }); }, 2000);
Sorry, something went wrong.
@jrieken this is a limitation of the node v8 debugging protocol. node-inspector shows the same behavior:
Ran into the same situation. Whenever I create a new promise, the intellisense keeps saying it's undefined.
microsoft/vscode-node-debug@2468fd4
node-debug: show Promise state as value. fixes #2107
1074d9d
jrieken
No branches or pull requests
See attached screen shot. The promise argument shows as undefined everywhere but the console reveals the truth when you 'use' it.
The text was updated successfully, but these errors were encountered: