Giter Site home page Giter Site logo

Comments (26)

luxus avatar luxus commented on June 8, 2024 1

@owittek @Uzaaft help

from astrocommunity.

luxus avatar luxus commented on June 8, 2024 1

@Uzaaft just a heads up. the 15th of May is nearly a year away

from astrocommunity.

luxus avatar luxus commented on June 8, 2024 1

looks like it will be really after 15. of may :D

from astrocommunity.

luxus avatar luxus commented on June 8, 2024

please provide a :checkhealth in a gist

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

Thanks for the reply @luxus

https://gist.github.com/citosid/a335aa8a4dfa9d5b860189c87a36d922

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

@luxus I did an installation from scratch installing only the example_user repo and only this pack and is the same error. These are the steps I followed:

git clone [email protected]:/AstroNvim/AstroNvim ~/.config/Test
git clone https://github.com/AstroNvim/user_example ~/.config/Test/lua/user
# Modify the file ~/.config/Test/lua/user/plugins/community.lua and add the typescript pack
NVIM_APPNAME=Test nvim

Open a very basic typescript file, add a break point, start the debugger, and the same error happens

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

@luxus more information:

I decided to try and make work the main nvim-dap-vscode-js by itself, and found this: mxsdev/nvim-dap-vscode-js#14 (comment)

Based on that, I think the issue in this pack is the same. It is trying to use js-debug-adapter which is the default adapter provided by Microsoft. However, I read somewhere the author of nvim-dap-vscode-js found the one provided by Microsoft is not really dap compatible, due to some things having to be asynchronous (I can't find the comment now, maybe @mxsdev can comment?).

So, the solution would be changing the pack to some configuration similar to the one I have in that other issue. However, I'm not sure if I'm the only one with this issue or if you (or @mehalter) as the original creators of the pack have more comments about it...

from astrocommunity.

owittek avatar owittek commented on June 8, 2024

I can confirm that I've also been having issues with the DAP starting and ignoring breakpoints, I've just assumed that it's been a misconfiguration on my part.

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

@luxus We should take a look at abz's stuff, it worked perfectly fine.

from astrocommunity.

luxus avatar luxus commented on June 8, 2024

Feel free :)

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

Feel free :)

Can masta give dobby a sock?
Jk, looking into it

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

I've got DAP working with JS. It's not ignoring breakpoints here for me. TS is another story...

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

#160 Should fix this. Could you test that PR? @citosid

from astrocommunity.

owittek avatar owittek commented on June 8, 2024

I have removed the DAP configuration from the TypeScript pack while we're working on a solution.

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

#160 Should fix this. Could you test that PR? @citosid

Sorry. Was in the middle of a release.

I have the configuration I linked previously and works flawlessly.

Is the other PR ready?

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

@citosid I'll have to test that one.
cc @owittek

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

Just a heads up. I'll take a look at this after 15th of May

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

@luxus Thanks for the reminder! I should plan the PR so that I don't miss forget the date!

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

Deno TS + JS and node JS daps are implemented.

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

JS dap has been released.
Deno dap support will be released during this week. TS + node is a WIP but I'm also on it.

from astrocommunity.

jharlow avatar jharlow commented on June 8, 2024

Super keen to see the TS + node one!

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

@jharlow @citosid I believe we got a fix for this. I'll roll it a seperate branch if you guys would like to try it out :)

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

Thanks @Uzaaft! Unfortunately I ended up creating my own integration and actually moved out of AstroNvim. Now I have my own configuration without any distribution.

Thanks for all your work though! I'm sure all the devs that use AstroNvim will love to try this out!

from astrocommunity.

Uzaaft avatar Uzaaft commented on June 8, 2024

@citosid No worries, good luck with your own config :) Do you have a link to your integration? 👀

from astrocommunity.

citosid avatar citosid commented on June 8, 2024

@Uzaaft, is the same that I posted above. Right now I'm in the process of migrating to a more simpler neovim configuration. You can see the dot files here: https://github.com/citosid/vim although it does not have the dap configuration yet.

from astrocommunity.

jharlow avatar jharlow commented on June 8, 2024

@Uzaaft Yeah I'd be keen to try it if you have a branch to link me! Thank you!

from astrocommunity.

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.