-
Notifications
You must be signed in to change notification settings - Fork 298
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
Suppress save before starting notebook debug session. #7393
Conversation
So we can debug untitled notebooks cleanly, and it's not needed for other unsaved notebooks anyway. Fix #6898
I just pushed this option to vscode so it isn't in an Insiders build yet |
Codecov Report
@@ Coverage Diff @@
## main #7393 +/- ##
=====================================
Coverage 64% 64%
=====================================
Files 361 361
Lines 22563 22563
Branches 3416 3415 -1
=====================================
+ Hits 14499 14502 +3
+ Misses 6866 6858 -8
- Partials 1198 1203 +5
|
const opts = mode === KernelDebugMode.RunByLine ? { debugUI: { simple: true } } : undefined; | ||
const opts: DebugSessionOptions | undefined = | ||
mode === KernelDebugMode.RunByLine | ||
? { debugUI: { simple: true }, suppressSaveBeforeStart: true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@roblourens
Is this avaialble in VS Code 1.60 stable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it will be ignored and not cause an issue, if that's what you're wondering
So we can debug untitled notebooks cleanly, and it's not needed for other unsaved notebooks anyway.
Fix #6898
Has a [news entry](https://github.com/Microsoft/vscode-jupyter/tree/main/news) file (remember to thank yourself!).Has sufficient logging.Has telemetry for enhancements.Unit tests & system/integration tests are added/updated.Test plan is updated as appropriate.package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).