mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-07 10:50:40 +00:00
add settings and pythonpath to debug command
Some checks are pending
release / build (push) Waiting to run
release / test (push) Waiting to run
release / release (push) Blocked by required conditions
test / generate-matrix (push) Waiting to run
lint / cargo-check (push) Waiting to run
lint / clippy (push) Waiting to run
lint / pre-commit (push) Waiting to run
lint / rustfmt (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
Some checks are pending
release / build (push) Waiting to run
release / test (push) Waiting to run
release / release (push) Blocked by required conditions
test / generate-matrix (push) Waiting to run
lint / cargo-check (push) Waiting to run
lint / clippy (push) Waiting to run
lint / pre-commit (push) Waiting to run
lint / rustfmt (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
This commit is contained in:
parent
9e6974d705
commit
fd0a1c160f
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ fn main() -> Result<()> {
|
|||
|
||||
let stdin = tmux.stdin.as_mut().context("Failed to get tmux stdin")?;
|
||||
|
||||
// Create session with editor
|
||||
// Create session with editor, setting DJANGO_SETTINGS_MODULE and PYTHONPATH
|
||||
writeln!(
|
||||
stdin,
|
||||
"new-session -d -s djls-debug 'nvim tests/project/djls_app/templates/djls_app/base.html'"
|
||||
"new-session -d -s djls-debug 'DJANGO_SETTINGS_MODULE=djls_test.settings PYTHONPATH=tests/project:$PYTHONPATH nvim tests/project/djls_app/templates/djls_app/base.html'"
|
||||
)?;
|
||||
|
||||
// Add devtools pane (20% width on the right)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue