dansomething / coc-java-debug

An extension for coc.nvim to enable Java debugging via jdt.ls
https://www.npmjs.com/package/coc-java-debug
Eclipse Public License 2.0
102 stars 8 forks source link

Is hot-swap code possible? #31

Closed nbfhscl closed 2 years ago

nbfhscl commented 2 years ago

Is hot-swap code possible?

nbfhscl commented 2 years ago

found this in vimspector:

Hot code replace When using the java debug server, Vimspector supports the hot code replace custom feature. By default, when the underlying class files change, vimspector asks the user if they wish to reload these classes at runtime. This behaviour can be customised: let g:ycm_java_hotcodereplace_mode = 'ask' - the default, ask the user for each reload. let g:ycm_java_hotcodereplace_mode = 'always' - don't ask, always reload let g:ycm_java_hotcodereplace_mode = 'never' - don't ask, never reload

dansomething commented 2 years ago

Related threads and docs:

9

puremourning/vimspector#252 https://github.com/puremourning/vimspector#hot-code-replace