Giter VIP home page Giter VIP logo

Comments (4)

iam4x avatar iam4x commented on August 27, 2024

Hello @nuragic I haven't used node-inspector yet, I'm good to add the command. Could you provide a PR with additional informations on the README.md about debug?

from isomorphic-flux-boilerplate.

nuragic avatar nuragic commented on August 27, 2024

Yeah, I'd really love to, but for now I've not been able to run the app correctly with the debugger attached... 😞 The Webpack server runs ok, I can debug it, but the koa server doesn't...

I get the following output:
captura de pantalla 2015-05-26 a las 13 28 08

Can you please try (in your local machine) to add the npm debug task as in https://github.com/nuragic/isomorphic-flux-boilerplate/commit/543c602e939b66b97d316d5249a241d1736fab2e and tell me if you get the same result?

Thanks!

from isomorphic-flux-boilerplate.

iam4x avatar iam4x commented on August 27, 2024

I'll try that when I have some time this afternoon. Maybe want to bebug the node process of koa, try to $ node-debug --hidden node_modules/ --nodejs='harmony' ./server/index.js

from isomorphic-flux-boilerplate.

aegyed91 avatar aegyed91 commented on August 27, 2024

you could actually attach the inspector on the running node process if you want to debug conditional stuff and not the startup process itself, otherwise you should use the --debug-brk flag

> node-inspector
> lsof -i :3000
> kill -s USR1 <PID>

more info

the strange thing is, it doesn't work for some reason :D didn't get any error though
with a fresh express server it works perfectly

from isomorphic-flux-boilerplate.

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.