You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Seeing the mentioned Promise-related error after starting the extension from vscode #15
I'm getting this error in a popup, after about 7s after clicking the button:
Error processing attach: Error: Could not connect to debug target at http://localhost:6009: Promise was canceled
at e (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:103397)
at async t (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:47354)
at async P.launch (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:126302)
at async t.Binder.captureLaunch (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:127629)
at async t.Binder._launch (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:127180)
at async Promise.all (index 5)
at async t.Binder._boot (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:126440)
at async t.default._onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:110922)
The extension development host window does open and stay open.
(If you're getting some Promise-related error alert, file an issue here so that we can find a workaround; this seems to be a VSCode bug. We currently just kill all our node processes and redo this step).
Activity
chenglou commentedon Dec 5, 2020
Are you trying to develop the plugin? You're likely encountering this: https://github.com/rescript-lang/rescript-vscode/blob/ce34fd22832a08edf44f2dc427ea18176912619e/CONTRIBUTING.md#run-the-project
chenglou commentedon Dec 5, 2020
Solved
a-c-sreedhar-reddy commentedon Mar 7, 2021
Hi @chenglou I got the same type of error. There are no node processes running on my machine.
a-c-sreedhar-reddy commentedon Mar 7, 2021
Okay, I had to relaunch keeping a rescript project open.
The promise error does not occur.
just getting started
chenglou commentedon Apr 27, 2021
Right, this is step 3.1 here