This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Accept new style properties for debugger options. Fixes #2001 * Don't pass redirectOutput to pydevd in launch. * Also accept 'jinja' to enable flask debugging.
- Loading branch information
1 parent
a8ffe4a
commit 17d3056
Showing
5 changed files
with
170 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/ptvsd/_vendored/pydevd/tests_python/resources/_debugger_case_debug_options.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
import pydevd | ||
# Some hackery to get the PyDevJsonCommandProcessor which is not exposed. | ||
try: | ||
json_command_processor = pydevd.get_global_debugger().reader.process_net_command_json.__self__ | ||
except: | ||
json_command_processor = pydevd.get_global_debugger().reader.process_net_command_json.im_self | ||
|
||
print(json_command_processor._options.to_json()) | ||
|
||
print('TEST SUCEEDED!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters