No option with key background_listener
See original GitHub issueI’m not sure when the last time I used xdebug was (probably a few months ago), but at some point something broke:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/james/.vim/plugged/vdebug/python3/vdebug/debugger_interface.py", line 47, in run
self.session_handler.run()
File "/home/james/.vim/plugged/vdebug/python3/vdebug/session.py", line 65, in run
self.listen()
File "/home/james/.vim/plugged/vdebug/python3/vdebug/session.py", line 42, in listen
self.start_listener()
File "/home/james/.vim/plugged/vdebug/python3/vdebug/session.py", line 45, in start_listener
self.listener = listener.Listener.create()
File "/home/james/.vim/plugged/vdebug/python3/vdebug/listener.py", line 12, in create
if opts.Options.get('background_listener', int):
File "/home/james/.vim/plugged/vdebug/python3/vdebug/opts.py", line 31, in get
raise OptionsError("No option with key '%s'" % name)
vdebug.opts.OptionsError: No option with key 'background_listener'
Vim 8.1 Arch linux (up to date) Python 3.7 PHP 7.2.12
vimrc settings:
let g:vdebug_options = {"break_on_open": 0}
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
how to avoid receiving listener for background activity when ...
I would like to know how to solve a problem I've got. Camera activity is running, and there's a dialog which is generated...
Read more >Manage events with background scripts - Chrome Developers
Effective background scripts stay dormant until an event they are listening for fires, react with specified instructions, then unload.
Read more >Pushing Background Updates to Your App - Apple Developer
Deliver notifications that wake your app and update it in the background.
Read more >Background scripts - Mozilla - MDN Web Docs
In your extension's manifest.json file, change the persistent property of "background" key to false for your script or page. " ...
Read more >Buttons - Android Developers
Using an OnClickListener. Styling Your Button. Borderless button; Custom background. A button consists of text or an icon (or both text and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hello, I have the exact same issue but restarting my computer doesn’t work I am using vdebug to debug php with xdebug When I run
:VdebugStarta first time I getNo option with key 'autostart'but if I run it again I always getNo option with key 'background_listener'Here is my config :
NVIM v0.5.0-dev+1007-g9223d1450 Python 3.9.1 Ubuntu 20.04.1 LTS PHP 7.4.13 (cli) (built: Nov 28 2020 06:24:59) ( NTS ) Copyright © The PHP Group Zend Engine v3.4.0, Copyright © Zend Technologies with Zend OPcache v7.4.13, Copyright ©, by Zend Technologies with Xdebug v3.0.2, Copyright © 2002-2021, by Derick Rethans
I have been able to reproduce the problem with a minimalistic .vim/init.vim :
Maybe you want me to create an other issue
Great @FatBoyXPC that makes it easy 😀