-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
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
Unable to Launch Chrome Dev from JS Debug Console #1489
Comments
For microsoft/vscode-js-debug#1489 Also, cache lsregister lookup since it's slow and we do it twice.
This'll be fixed in the next nightly build (~7 hrs) please let me know if it works for you! https://github.com/microsoft/vscode-js-debug#nightly-extension If not, verification steps:
|
Hey @connor4312 many thanks for that & happy new year to you! I'm testing with nightly v2022.12.1417 - which i think contains your change - the timestamp is around 7 hours after your comment - but i don't know how to verify for sure. In any case it's not worked unfortunately. I'm not really sure why because your change looked good to me. Verification steps performed:
NB: this was done in a fresh vs code instance (double checked vscode-js-debug disabled and vscode-js-debug-nightly enabled), not with a project workspace open so there is no |
It looks like there might be something wrong with our extension publishing or the marketplace; the version number is just the date. Will let you know when it's resolved... |
The new nightly build is published now 🙂 |
Confirmed fixed on nightly v2023.1.317 Many thanks @connor4312 ! |
Describe the bug
Unable to launch a Chrome debugger by ctrl+clicking on an emitted URL from vite running in a JS debug console in vscode 1.74.1 running on MacOS Ventura 13.1 - i get the error:
The browser is visible in launch services:
To Reproduce
Steps to reproduce the behavior:
npm run dev
Local: http://127.0.0.1:5173/
launch.json contains:
Log File
with trace set to true, ctrl+clicking on the link emitted by
npm run dev
does not cause a new trace log to be generated.Clicking the launch button in the debug view does cause a log to be created and successfully opens a blank chrome dev instance but obviously this does not open to the url emitted in the JS console
VS Code Version: 1.74.1 (arm64 build on MacOs 13.1)
Additional context
I did see that in https://github.com/microsoft/vscode-js-debug-browsers/blob/main/src/darwinChrome.ts#L39 it's not looking for Dev or Beta in the same way that Edge dev and beta are searched for https://github.com/microsoft/vscode-js-debug-browsers/blob/main/src/darwinEdge.ts#L39 - but i haven't attempted to verify further.
The text was updated successfully, but these errors were encountered: