Skip to content

ddt plugin launches pycharm to open a file and put a cursor on the first line of the handler code

Notifications You must be signed in to change notification settings

ef-end-y/pycharm-in-django-debug-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Pycharm Panel for Django Debug Toolbar

Adds a request history to Django Debug Toolbar. For each request the plugin can run IDE to open the handler code file and put the cursor on the handler code first line. The plugin can also do this with ajax requests.

Setup

DEBUG_TOOLBAR_PANELS = [
    '...',
    '...',
    '...',
    'djdt_code_panel.CodeEditorPanel',
]

path to your IDE:

DJDT_CODE_EDITOR_PATH = '/path/to/your/ide'

for example:

DJDT_CODE_EDITOR_PATH = 'pycharm-professional --line {line} {file}'
DJDT_CODE_EDITOR_PATH = '/Applications/PyCharm\ CE.app/Contents/MacOS/pycharm --line {line} {file}'
DJDT_CODE_EDITOR_PATH = '/usr/bin/code -r -g {file}:{line}'  # Visual Studio Code

About

ddt plugin launches pycharm to open a file and put a cursor on the first line of the handler code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages