Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

When I hit Ctrl+E in PuDB it starts a currently set up Editor.

With the EDITOR environment variable the user can select the editor he prefers.

Per default nano is opened and it works as expected.

When I set EDITOR=vim then I see following:

  1. PuDB quickly disappears (probably it tries to start VIM)
  2. Some error message is quickly printed. But I can not read it because
  3. PuDB appears quickly again

This happens with all versions of PuDB.

What can be the reason for this? How to debug PuDB or how can I at least quickly see the error message?

Thanks a lot for a great debugger!

You must be logged in to vote

Replies: 1 comment · 5 replies

Comment options

I'm really not sure. I also have $EDITOR set to vim, and things work as expected. You may be able to see the error message if you hit o.

You must be logged in to vote
5 replies
@yogi81
Comment options

Thanks for the answer!

Yes, when I hit 'o' PuDB shows temrinal, but then everything hangs and I do not see the error nor it is clear to me how to exit this mode.

I have to kill python and restart.

@yogi81
Comment options

Is there a way to log all of the outputs to a file ?

@yogi81
Comment options

Ok, I will use high speed camera of my smartphone to capture the output 🤦

@yogi81
Comment options

Ok, there is no error output. Vim just exits. And before that just an information about $PYTHONPATH is shortly shown.

@yogi81
Comment options

I will check my vim extensions. Something tells me that it is could be YCM extension...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.