Django/JavaScript Debugging Broken in 3.4
After reporting JavaScript debugging not work in http://forum.jetbrains.com/thread/PyCharm-2182, I've discovered that downgrading to 3.1.3 resolves the problem.
Steps to reproduce:
1) Perform a clean install (no imports of previous settings, etc.) of 3.1.3.
2) Create a vanilla Django 1.5 project, add a basic url mapping, add a 1 line view, and a simple template. See example below.
3) Configure a Djange run/debug configuration pointing to your interpreter and check the box for JavaScript debugging.
4) Run/Debug set a break point on var j = 0. Debugging and the break point works
5) Now upgrade to via Check for Update, to 3.4. After the upgrade is complete, attempt to run/debug again. JavaScript breakpoints no longer work.
THIS NEEDS TO BE FIXED LIKE YESTERDAY. :/
url(r'^test/foo', views.one) ## mapping
def one(request):
return render_to_response('foo.html', {}) ## view
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<script type="text/javascript">
var j = 0
var k = 10
</script>
<body>
foo
</body>
</html>
Steps to reproduce:
1) Perform a clean install (no imports of previous settings, etc.) of 3.1.3.
2) Create a vanilla Django 1.5 project, add a basic url mapping, add a 1 line view, and a simple template. See example below.
3) Configure a Djange run/debug configuration pointing to your interpreter and check the box for JavaScript debugging.
4) Run/Debug set a break point on var j = 0. Debugging and the break point works
5) Now upgrade to via Check for Update, to 3.4. After the upgrade is complete, attempt to run/debug again. JavaScript breakpoints no longer work.
THIS NEEDS TO BE FIXED LIKE YESTERDAY. :/
url(r'^test/foo', views.one) ## mapping
def one(request):
return render_to_response('foo.html', {}) ## view
- template
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<script type="text/javascript">
var j = 0
var k = 10
</script>
<body>
foo
</body>
</html>
Please sign in to leave a comment.