Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug/test nginx-clojure handlers #290

Open
xfeep opened this issue May 17, 2023 · 0 comments
Open

How to debug/test nginx-clojure handlers #290

xfeep opened this issue May 17, 2023 · 0 comments

Comments

@xfeep
Copy link
Member

xfeep commented May 17, 2023

There are currently two methods available for debugging/testing nginx-clojure handlers. One is that we run a normal nginx instance with the jvm remote debugging option enabled. The other is to use the recommended subproject nginx-clojure-embed, which is very easy to use with IDEs and unit testing tools. Later we can do some enhancements

  1. Add some code to several example projects to show how to use nginx-clojure-embed to debug/test handlers
  2. Add more documentation to show more details about debugging/testing handlers with nginx-clojure-embed.
  3. The binary dist of nginx-clojure-embed needs to compile more built-in nginx modules. Related to nginx-clojure-embed need be compiled with more built-in nginx c modules #288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant