mfussenegger / nvim-dap-python

An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate entries after reloading configuration

Maritsu opened this issue · comments

After reloading my Neovim configuration file (:so $MYVIMRC), the debugger entries begin to duplicate - another whole set of entries after each reload.

(apologies for the weird lines, scrot is acting up)

  • no reloads: 4 options (default)
    no reloads: 4 options
  • after reload: 8 options (each option appears twice)
    after reload: 8 options (each option appears twice)
  • after one more reload: 12 options
    after one more reload: 12 options

Yes, setup adds additional entries without reseting the existing entries. You'd need to clear them - e.g by setting dap.configurations.python = {}