Add the geventCompatible launch configuration option#1699
Conversation
DonJayamanne
left a comment
There was a problem hiding this comment.
- We're missing code to create environment variable.
- @brettcannon please review messages.
| @@ -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.
I'd change this to:
Add geventCompatible launch configuration option to enable debugging of gevent monkey patched code.
| export interface AdditionalLaunchDebugOptions { | ||
| redirectOutput?: boolean; | ||
| django?: boolean; | ||
| geventCompatible?: boolean; |
| "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", |
| }, | ||
| "geventCompatible": { | ||
| "type": "boolean", | ||
| "description": "Make the debugger compatible with gevent monkey-patching.", |
There was a problem hiding this comment.
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: