-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add the geventCompatible
launch configuration option
#1699
Conversation
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.
- We're missing code to create environment variable.
- @brettcannon please review messages.
news/1 Enhancements/127.md
Outdated
@@ -0,0 +1,2 @@ | |||
Add the `geventCompatible` launch configuration option, | |||
to make the experimental Python debugger work with projects using gevent's monkey patching. |
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.
I'd change this to:
Add geventCompatible
launch configuration option to enable debugging of gevent monkey patched code.
@@ -54,6 +54,7 @@ export type DebuggerType = 'python' | 'pythonExperimental'; | |||
export interface AdditionalLaunchDebugOptions { | |||
redirectOutput?: boolean; | |||
django?: boolean; | |||
geventCompatible?: boolean; |
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.
rename property to gevent
package.nls.json
Outdated
@@ -39,6 +39,8 @@ | |||
"python.snippet.launch.flask.description": "Debug a Flask Application", | |||
"python.snippet.launch.flaskOld.label": "Python: Flask (0.10.x or earlier)", | |||
"python.snippet.launch.flaskOld.description": "Debug an older styled Flask Application", | |||
"python.snippet.launch.gevent.label": "Python: Gevent-compatible", |
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.
remove the word -compatible
package.json
Outdated
@@ -975,6 +986,11 @@ | |||
"description": "Debug standard library code.", | |||
"default": false | |||
}, | |||
"geventCompatible": { | |||
"type": "boolean", | |||
"description": "Make the debugger compatible with gevent monkey-patching.", |
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.
Please change to Enable debugging of gevent monkey-patched code
Codecov Report
@@ Coverage Diff @@
## master #1699 +/- ##
==========================================
- Coverage 74.44% 71.48% -2.97%
==========================================
Files 282 277 -5
Lines 13253 13016 -237
Branches 2382 2345 -37
==========================================
- Hits 9866 9304 -562
- Misses 3257 3576 +319
- Partials 130 136 +6
Continue to review full report at Codecov.
|
This makes the experimental Python debugger work with projects using gevent's monkey patching. Closes #127
Thanks for the comments! |
@brettcannon FYI I think this is waiting for you only. |
Labels seem fine to me. Now we're just waiting on @DonJayamanne to give the all-clear and to merge! |
Fixes #127
This pull request: