Skip to content

Commit 20b342c

Browse files
committed
updated read me
1 parent 183bfd2 commit 20b342c

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ Works on both Windows and Mac.
99
* Renaming, Viewing references, Going to definitions, Go to Symbols
1010
* View signature and similar by hovering over a function or method
1111
* Debugging with support for local variables, arguments, expressions, watch window, stack information, break points
12-
* Debugging Multiple threads (Web Applications, etc) and expanding values (on Windows and Mac)
12+
* Debugging Multiple threads (Web Applications - Flask, etc) and expanding values (on Windows and Mac)
1313
* Unit testing (unittests and nosetests, with config files)
1414
* Sorting imports
1515
* Snippets
1616

1717
## Issues and Feature Requests
1818
[Github Issues](https://github.com/DonJayamanne/pythonVSCode/issues)
1919
* Remote Debugging (coming soon)
20+
* Debugging django (in development)
2021

2122
## Feature Details (with confiuration)
2223
* IDE Features
@@ -77,6 +78,8 @@ Works on both Windows and Mac.
7778

7879
![Image of Multi Threaded Debugging](https://raw.githubusercontent.com/DonJayamanne/pythonVSCode/master/images/flaskDebugging.gif)
7980

81+
![Image of Pausing](https://raw.githubusercontent.com/DonJayamanne/pythonVSCode/master/images/break.gif)
82+
8083
## Requirements
8184
* Python is installed on the current system
8285
* - Path to python can be configured
@@ -99,6 +102,7 @@ Works on both Windows and Mac.
99102
### Version 0.2.4
100103
* Fixed issue where debugger would break into all exceptions
101104
* Added support for breaking on all and uncaught exceptions
105+
* Added support for pausing (breaking) into a running program while debugging.
102106

103107
### Version 0.2.3
104108
* Fixed termination of debugger

images/break.gif

365 KB
Loading

src/client/debugger/vs/VSDebugger.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class PythonDebugSession extends DebugSession {
201201
var that = this;
202202
this.startDebugServer().then(dbgServer => {
203203
dbgServer.port
204-
var vsDebugOptions = "RedirectOutput";//,\"WaitOnNormalExit\"";
204+
var vsDebugOptions = "RedirectOutput";
205205
//GUID is hardcoded for now, will have to be fixed
206206
var currentFileName = module.filename;
207207
var ptVSToolsFilePath = path.join(path.dirname(currentFileName), "..", "..", "..", "..", "pythonFiles", "PythonTools", "visualstudio_py_launcher.py");// ""; //C:\Users\djayamanne\.vscode\extensions\pythonVSCode\pythonFiles\PythonTools
@@ -492,10 +492,10 @@ class PythonDebugSession extends DebugSession {
492492
return this.sendResponse(response);
493493
});
494494
}
495-
495+
496496
protected pauseRequest(response: DebugProtocol.PauseResponse): void {
497497
this.pythonProcess.Break();
498-
this.sendResponse(response);
498+
this.sendResponse(response);
499499
}
500500

501501
protected setExceptionBreakPointsRequest(response: DebugProtocol.SetExceptionBreakpointsResponse, args: DebugProtocol.SetExceptionBreakpointsArguments): void {

0 commit comments

Comments
 (0)