-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Description
I have had vdebug v1 working for a long time. I updated vim, which looks like it set up python 3 support (has('python3')) and removed python 2 support (has('python')) by default. I upgrade vdebug as well, which brought in the v2-integration changes. Now when I start listening with vdebug (F5), start xdebug via a cookie, and load the right page, I get this error:
Sometimes it shows up like this instead
Versions
MacOS 10.13.3
Vim (from brew install vim --with-override-system-vi):
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 12 2018 12:02:38)
macOS version
Included patches: 1-1553
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_sgr -tag_any_white
+arabic +file_in_path -mouse_sysmouse -tcl
+autocmd +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
-balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
-browse +fork() -mzscheme +textobjects
++builtin_terms -gettext +netbeans_intg +timers
+byte_offset -hangul_input +num64 +title
+channel +iconv +packages -toolbar
+cindent +insert_expand +path_extra +user_commands
-clientserver +job +perl +vertsplit
+clipboard +jumplist +persistent_undo +virtualedit
+cmdline_compl +keymap +postscript +visual
+cmdline_hist +lambda +printer +visualextra
+cmdline_info +langmap +profile +viminfo
+comments +libcall -python +vreplace
+conceal +linebreak +python3 +wildignore
+cryptv +lispindent +quickfix +wildmenu
+cscope +listcmds +reltime +windows
+cursorbind +localmap +rightleft +writebackup
+cursorshape -lua +ruby -X11
+dialog_con +menu +scrollbind -xfontset
+diff +mksession +signs -xim
+digraphs +modify_fname +smartindent -xpm
-dnd +mouse +startuptime -xsmp
-ebcdic -mouseshape +statusline -xterm_clipboard
+emacs_tags +mouse_dec -sun_workshop -xterm_save
+eval -mouse_gpm +syntax
+ex_extra -mouse_jsbterm +tag_binary
+extra_search +mouse_netterm +tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv -framework AppKit -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -framework CoreFoundation -lruby.2.5.0 -lobjc
Vdebug:
master - 6b2b2bac8947f6f5c72ca3a75401270d52b740b4
Vdebug config
let g:vdebug_options:
{
"auto_start": 1,
"background_listener": 1,
"break_on_open": 1,
"continuous_mode": 1,
"debug_file": "/tmp/vdebug.log",
"debug_file_level": 2,
"debug_window_level": 0,
"ide_key": "",
"marker_closed_tree": "▸",
"marker_default": "⬦",
"marker_open_tree": "▾",
"on_close": "stop",
"path_maps": {
"/path/on/remote": "/path/on/local"
},
"port": 9000,
"server": "",
"timeout": 30,
"watch_window_style": "compact",
"window_arrangement": ["DebuggerWatch", "DebuggerStack", "DebuggerStatus"],
"window_commands": {
"DebuggerStack": "belowright new",
"DebuggerStatus": "belowright new",
"DebuggerWatch": "vertical belowright new"
}
}
Logs
/tmp/vdebug.log:
- [Debug] {Mon 12 2018 12:06:16} Setting buffer for DebuggerWatch: ['']
- [Debug] {Mon 12 2018 12:06:16} Setting buffer for DebuggerStack: ['']
- [Debug] {Mon 12 2018 12:06:16} Setting buffer for DebuggerStatus: ['']
- [Info] {Mon 12 2018 12:06:16} Closing the connection
- [Debug] {Mon 12 2018 12:06:16} Command: stop -i 1
- [Info] {Mon 12 2018 12:06:16} Connection has been closed
- [Debug] {Mon 12 2018 12:06:16} Closing the socket
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: ['']
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: ['']
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: ['']
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: []
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: []
- [Debug] {Mon 12 2018 12:06:16} Creating hidden buffer: []
- [Debug] {Mon 12 2018 12:06:16} Closing the socket
/tmp/xdebug.log:
Log opened at 2018-03-12 19:07:47
I: Connecting to configured address/port: 10.0.2.2:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///path/to/index.php" language="PHP" xdebug:language_version="7.0.26" protocol_version="1.0" appid="31" idekey="{my_ide_key}"><engine version="2.5.5"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2017 by Derick Rethans]]></copyright></init>
<- stop -i 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="1" status="stopped" reason="ok"></response>
Metadata
Metadata
Assignees
Labels
No labels

