Giter Site home page Giter Site logo

Comments (7)

mfussenegger avatar mfussenegger commented on May 30, 2024

Could you share some steps to reproduce this? I've no idea what you do to end up receiving this error.

from nvim-dap-python.

Zigrino avatar Zigrino commented on May 30, 2024

I set up the code as per instructions, except I installed debugpy globally and changed the directory in the settings accordingly. I tried to test the plugin by setting a breakpoint and then running the debugger with :lua require'dap'.continue and it threw me this error. This error did go away after a couple seconds and was replaced with this one:

Screen Shot 2021-08-11 at 2 20 46 PM

I'm on macos, I'm not sure if that matters.

from nvim-dap-python.

mfussenegger avatar mfussenegger commented on May 30, 2024

Could you post the log file? (See :help dap.set_log_level())

The only two places in neovim that throw a "expected valid directory" message are related to the cwd property of termopen or jobstart.

nvim-dap doesn't use jobstart, but only termopen for the integrated terminal and it defaults to the current working directory, so I'm not sure how/why that would cause a failure - unless you changed the default value?

from nvim-dap-python.

Zigrino avatar Zigrino commented on May 30, 2024

I was cd'ed into a folder while trying to debug, maybe that was the problem?

from nvim-dap-python.

Zigrino avatar Zigrino commented on May 30, 2024

yeah it doesn't throw an error when I edited the file from home directory

from nvim-dap-python.

Zigrino avatar Zigrino commented on May 30, 2024

also, is it possible to view variable values and stuff like that using this debugger?

from nvim-dap-python.

mfussenegger avatar mfussenegger commented on May 30, 2024

also, is it possible to view variable values and stuff like that using this debugger?

Please have a look at the readme of nvim-dap and the help page. It is all documented.

from nvim-dap-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.