Coder Social home page Coder Social logo

Comments (9)

serkanyersen avatar serkanyersen commented on May 13, 2024 2

it works!! 👍 Thanks!!

from ndb.

alexkozy avatar alexkozy commented on May 13, 2024

I will fix it by showing everything from node_modules. It is a little blocked by introducing better way to fs.watch for changes inside folders, current way does not support a lot of folders and unfortunately node_modules usually contains a lot.

from ndb.

CyberPhoenix90 avatar CyberPhoenix90 commented on May 13, 2024

Showing eveything from node_modules is not great in my opinion, in some projects that will mean showing thousands of files that aren't relevant to the person debugging.

from ndb.

alexkozy avatar alexkozy commented on May 13, 2024

I just published version (1.0.11) that should resolve this issue:

  1. run ndb from folder with your project,
  2. go to settings tabs, open node_modules tab, wait a little,
  3. set Whitelist next to module that you would like to be able to debug,
  4. restart ndb, you should get node_modules/dependency in navigator view, debugger will pause inside this dependency as usual.
    I am looking forward for your feedback. 😄

from ndb.

serkanyersen avatar serkanyersen commented on May 13, 2024

@ak239 Thanks for the change. I've just tested this feature on some projects but I'm not sure if I could get it working properly.

On one project, I'm able to see the packages, but after whitelisting they don't show up on file tree.

screen shot 2018-07-26 at 10 36 10

on another project, it wouldn't even show the package list.

screen shot 2018-07-26 at 10 35 30

You can see the packages are installed on this project.

but overall, this is exactly what I wanted.

from ndb.

alexkozy avatar alexkozy commented on May 13, 2024

First bug most likely related to at sign and I can reproduce it locally, fix will be available soon.
To fetch list of dependencies we run npm ls --json inside folder where ndb was started. Could you confirm that when you run this command for second project it runs without errors?

from ndb.

serkanyersen avatar serkanyersen commented on May 13, 2024

it seems to work, here is the end of the output

screen shot 2018-07-26 at 10 50 48

I'm guessing these extraneous: package errors are preventing you from parsing the output. Those error logs are definitely are in the stderr though, because they disappear when I run the command like this npm ls --json 2>/dev/null

from ndb.

alexkozy avatar alexkozy commented on May 13, 2024

Thanks a lot! It helped me detect the problem.

from ndb.

alexkozy avatar alexkozy commented on May 13, 2024

Please check out latest version (1.0.12). It contains fix for both problems.

from ndb.

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.