-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Introduce noDebug flag to DebugSessionOptions #99743
Comments
@isidorn IIRC you've introduced the VS Code API So in June we should introduce the But the way how Are there three possible semantics for "noDebug" in
|
Good point, we can introduce that to the options. There are just two ways how noDebug is interpretted: The hardcoded false results in the problem becuase:
|
So the smallest fix for js-debug would be to pass a Additionally my 3rd case "undefined" from above could become: startDebugging automatically uses the noDebug value from the parent session. With that Possible descriptions for the three "noDebug" values in
|
@weinand yes, the js-debug could pass a |
I think this would be the best way to do it. We already pass information down from parents to children, we can do the same thing for However, js-debug right now doesn't respect the |
Summary and conclusion:
|
As agreed I have surfaced the @connor4312 since I will take this issue through the API process maybe we create a seperate one for js-debug and we unassign you from this one? |
Works for me |
For reference here's the js-debug issue microsoft/vscode-js-debug#523 |
@isidorn the comment for |
Feedback from API sync call: |
We have done what we planned for this milestone. |
We plan to finalize this API this August milestone. Just in case there is more feedback before we finalize it. fyi @connor4312 |
I've adopted this in js-debug for setting noDebug in child sessions. Work well, no complaints :) |
I have finalized this and created this test plan item to cover the finalisation @connor4312 @weinand please assign yourself if you feel like testing this. Only one tester is need, since this is just finalisation |
Code pointer:
vscode/src/vs/workbench/api/browser/mainThreadDebugService.ts
Line 232 in e942645
startDebugging
api makes an assumption thatnoDebug
is falseThe problem is shown when you want to Run Without Debugging using js-debug. The breakpoints are still hit.
Not sure who authored this code originally. Assigning all 3 of us, I can also look into it.
Assigning to June so we look into this if possible.
The text was updated successfully, but these errors were encountered: