Giter Club home page Giter Club logo

Comments (5)

atomsnc avatar atomsnc commented on May 30, 2024 1

@nicholaschiasson Yes this can be closed. Please go ahead.

from ngx_upstream_jdomain.

nicholaschiasson avatar nicholaschiasson commented on May 30, 2024

Wow, excellent find, thank you so much! 🙏 I will review the PR and try to have this merged ASAP.

from ngx_upstream_jdomain.

splitice avatar splitice commented on May 30, 2024

@atomsnc Did you get nginx to run in a debugger with build process integration?

Well done! Care to share your setup steps / environment?

from ngx_upstream_jdomain.

atomsnc avatar atomsnc commented on May 30, 2024

Hello @splitice, I use CLion as it now has Makefile support built-in. You just load Makefile as a project.

https://www.jetbrains.com/help/clion/makefiles-support.html#manual-reload

Since nginx has a pre-make step, you add ./configure to pre-build command.

Once you build it, you have two options (both require daemon mode to be off),

  • If you disable master process (single nginx process, no worker), you can start a debug build from the start menu.
  • If you want to run with worker process, you will have to start it manually (script works well), and then attach to the process to debug.

Then you can just set breakpoints in IDE window and it works.

You can set access and error logs to /dev/stdout so you have the full experience in the IDE itself.

from ngx_upstream_jdomain.

nicholaschiasson avatar nicholaschiasson commented on May 30, 2024

Hey @atomsnc , given that #75 is merged, do you suppose we can close this one?

from ngx_upstream_jdomain.

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.