-
Notifications
You must be signed in to change notification settings - Fork 152
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
fix: Vs Code debugger does not use https protocol when starting dev server #1440
Comments
@Tusshu thanks for opening an issue! I haven't tried to reproduce, but as far as I believe what you're stating is a valid request. The browser should open with As far as I am concerned, the Dart Frog Daemon doesn't report the information on whether or not the Dart Frog project is using a Security Context or not. Hence, to land this change we would have to:
I'm not sure if the team has bandwidth to prioritise this work right now (cc: @tomarra ), however, if you're interested in contributing to this effort we can definitely help you review and land the Pull Request. |
Thanks for your response!
I would love to do what you are suggesting. But with current assignments,
it will be difficult to find the time this task requires.
I will try to understand the code as and when I find some time but I am not
able to commit.
Currently I will continue my project using Shelf. But I was impressed with
Dart_frog and really wanted to move to that platform.
Thank you again for your response.
Tushar Kale
…On Tue, Jul 9, 2024 at 5:01 AM Alejandro Santiago ***@***.***> wrote:
@Tusshu <https://github.com/Tusshu> thanks for opening an issue!
I haven't tried to reproduce, but as far as I believe what you're stating
is a valid request. The browser should open with https when a security
context is specified.
As far as I am concerned, the Dart Frog Daemon doesn't report the
information on whether or not the Dart Frog project is using a Security
Context or not. Hence, to land this change we would have to:
- Update the Daemon to report if a security context is being specified
- Update the VS Code extension to check with the Daemon if the current
Dart Frog project is using a security context and open with HTTPS
accordingly
I'm not sure if the team has bandwidth to prioritise this work right now
(cc: @tomarra <https://github.com/tomarra> ), however, if you're
interested in contributing to this effort we can definitely help you review
and land the Pull Request.
—
Reply to this email directly, view it on GitHub
<#1440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4AJMA43U4XRFOD3EPO2FTZLORGLAVCNFSM6AAAAABKNYFOLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXGA2DIMJRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Tusshu no worries I understand. You can still use Dart Frog and launch using Dart Frog CLI instead of the extension, or simply update the URL to include the "s" manually. If at any point you would like to contribute let me know and I can get you assigned. For the time being you can track how the team prioritises this issue by watching it within the Full Board. |
That is good news!!! |
You mentioned "simply update the URL to include the "s" manually"
I am not sure how to do that. In VSCode, I click on the Run | Debug above
the response function to start the server. It asks for two ports, 8080 and
8081 before starting the server. I can specify 8443 instead of 8080. But
there is no access to the URL where I can specify https.
How or where do I get access to the URL?
Thanks!
…On Tue, Aug 13, 2024 at 7:12 AM Alejandro Santiago ***@***.***> wrote:
@Tusshu <https://github.com/Tusshu> no worries I understand. You can
still use Dart Frog and launch using Dart Frog CLI instead of the
extension, or simply update the URL to include the "s" manually.
If at any point you would like to contribute let me know and I can get you
assigned. For the time being you can track how the team prioritises this
issue by watching it within the Full Board
<https://github.com/orgs/VeryGoodOpenSource/projects/1/views/4>.
—
Reply to this email directly, view it on GitHub
<#1440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4AJMAKOOO4IDPPH6RBNPTZRHS3DAVCNFSM6AAAAABKNYFOLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVHE4DQMRYHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You first need to set the security context as specified in the documentation. Once you have that going, you can attach a debugger by using the "Debug" above the response function, such will open a web browser, but using HTTP rather than HTTPS. If you modify the browser URL to include an "s", you'll see how the breakpoints are hit when in debug mode. Another option is to use tools like Postman, curl, and use the endpoint you wish. I hope this makes sense 🙌 , let me know if it helps. |
Description
6 This site can’t be reached. The webpage at https://localhost:8443/ might be temporarily down or it may have moved permanently to a new web address. ERR_FAILED
Expected Behavior
The text was updated successfully, but these errors were encountered: