Skip to content

Commit

Permalink
experimental debugging of django and support for stopOnEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Feb 9, 2016
1 parent 20b342c commit ac72f7a
Show file tree
Hide file tree
Showing 15 changed files with 1,093 additions and 280 deletions.
36 changes: 33 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "out/src",
"outDir": "${workspaceRoot}/out/src",
"preLaunchTask": "npm"
},
{
Expand All @@ -29,13 +29,43 @@
"runtimeArgs": [
"--harmony"
],
"program": "./out/client/debugger/vs/vsdebugger.js",
"program": "${workspaceRoot}/out/client/debugger/vs/PythonDebugger.js",
"stopOnEntry": false,
"args": [
"--server=4711"
],
"sourceMaps": true,
"outDir": "./out/client"
"outDir": "${workspaceRoot}/out/client"
},
{
"name": "Attach to python_django debug server",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--harmony"
],
"program": "${workspaceRoot}/out/client/debugger/vs/DjangoDebugger.js",
"stopOnEntry": false,
"args": [
"--server=4711"
],
"sourceMaps": true,
"outDir": "${workspaceRoot}/out/client"
},
{
"name": "Attach to old vs debug server",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--harmony"
],
"program": "${workspaceRoot}/out/client/debugger/vs/VSDebugger.js",
"stopOnEntry": false,
"args": [
"--server=4711"
],
"sourceMaps": true,
"outDir": "${workspaceRoot}/out/client"
}
]
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Works on both Windows and Mac.
## Issues and Feature Requests
[Github Issues](https://github.com/DonJayamanne/pythonVSCode/issues)
* Remote Debugging (coming soon)
* Debugging django (in development)

## Feature Details (with confiuration)
* IDE Features
Expand Down Expand Up @@ -99,6 +98,10 @@ Works on both Windows and Mac.

## Change Log

### Version 0.2.4
* Introduced experimental debugging of django (debugging templates not supported)
* Added support for optionally breaking into python code as soon as debugger starts

### Version 0.2.4
* Fixed issue where debugger would break into all exceptions
* Added support for breaking on all and uncaught exceptions
Expand Down
Loading

0 comments on commit ac72f7a

Please sign in to comment.