We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My goal is to see debug messages on the console with the HTTP Unix daemon in combination with thread_httpd.
thread_httpd
When I start with a very simple server template, server.pl:
server.pl
:- use_module(library(http/thread_httpd)). :- use_module(library(http/http_unix_daemon)). :- initialization http_daemon.
Then I get among the help messages:
$ swipl server.pl --help ... % --debug=topic Print debug message for topic ...
However, when I try to enable a debug topic, say, test, I get:
test
$ swipl server.pl -- --debug=test --port=8080 --interactive Warning: test: no matching debug topic (yet) ERROR: thread_create/3: Type error: `bool' expected, found `test' (an atom)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My goal is to see debug messages on the console with the HTTP Unix daemon in combination with
thread_httpd
.When I start with a very simple server template,
server.pl
:Then I get among the help messages:
However, when I try to enable a debug topic, say,
test
, I get:The text was updated successfully, but these errors were encountered: