Giter Club home page Giter Club logo

kak-dap's People

Contributors

in0ni avatar jdugan6240 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

in0ni

kak-dap's Issues

Request: Assistance/Guidance for setting up XDebug

Hello @jdugan6240,

I am wondering if you think it's possible, to get XDebug working with this plugin. I have read the docs, and checked https://github.com/xdebug/vscode-php-debug, which according to https://microsoft.github.io/debug-adapter-protocol/implementors/adapters/ implements DAP.

I checked out the code, but unlike C++/Rust , there is no binary -- but rather .js files. I have tried kak-dbgp for this as well, but it always hangs on scripts, will later add an issue for that.

I am wondering if you feel the vs plugin will be difficult to work with, and if there might be another alternative. Any guidance would help, currently I use VS just for debugging, which I would prefer to keep within Kakoune.

Thanks in advance!

Discussion of a few modifications

Hello,
I'm hoping to use this ticket as a platform to discuss a couple of things I have been thinking contributing with. One I have already started work on as it affects my workflow. There are also a feature request, I wanted to know if can be done.

Using default clients for variables/stacktrace

I find that the dap-setup-ui and dap-takedown-ui are perfect for customizing layouts for personal preferences. Though using the clients kakoune already provides might be best for the default behavior: toolsclient and docsclient. Kakoune and most plugins that require output use these. For example:

  • grep/find
  • documentation
  • linters
  • kak-gbdp

In my case I wrote a script that builds a sort of IDE, based on this: https://github.com/mawww/kakoune/wiki/IDE. So I have my environment setup and the three clients are always used. I have already created a local branch which:

  • has a boolean option that the user can set to determine if they want to use the two provided commands (false by default)
  • uses docsclient and toolsclient for both vars/stacktrace
  • for now I simply commented out takedown-ui in the general.rs (but will handle it better)

Stacktrace syntax and opening files

I think I will take the time for syntax highlighting, and the kakoune-find plugin can be used as a reference for opening the files in the jumpclient

Don't show "+" arrow on empty arrays

This is minor, if I can tackle it I will. You can see in it in the screenshot for my pull request for variable syntax hl. While testing I thought something was broken, but it was due to me clicking on the array(0) variables.

Feature request

Is it possible to toggle breakpoints after the debugging session has started?

Please let me know your thoughts. They are minor things, and I can definitely contribute on the first three -- definitely going to wrap up the first one soon and can provide a pull request. Just wanted to know your thoughts.

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.