← Previous day | Today | Next day → | Search | Index
All times shown according to UTC.
Time | Nick | Message |
---|---|---|
03:18 | koha-jenkins | Project Koha_Master_U21 build #109: UNSTABLE in 45 min: https://jenkins.koha-community[…]a_Master_U21/109/ |
03:24 | Project Koha_Master_U20 build #322: UNSTABLE in 51 min: https://jenkins.koha-community[…]a_Master_U20/322/ | |
06:15 | SushiJames[m] joined #koha | |
07:44 | JBoyer joined #koha | |
09:42 | udkoha joined #koha | |
09:50 | udkoha | multiple lines test |
09:51 | does not work | |
09:51 | how can I paste multiple lines of code here in web IRC? | |
09:56 | udkoha joined #koha | |
09:58 | udkoha | to tuxayo concerning kohadevbox / koha & docker |
09:58 | thanks for your answers from yesterday. Concerning your question how I could debug a plack script. | |
09:58 | I used Plack::Middleware::DBGp together with the Komodo Perl IDE from Activestate | |
09:58 | I started the script with | |
09:58 | plackup --port 9099 dbgp-demo.psgi | |
09:58 | The hello world web app can be found at http://localhost:9099 | |
09:58 | And 9000 is the default port for xdebug. | |
09:58 | Perhaps you have to enable the listen mode within Komodo. | |
09:58 | Example script dbgp-demo.psgi | |
09:58 | # should be the first/one of the first modules to be loaded | |
09:58 | use Plack::Middleware::DBGp ( | |
09:58 | remote_host => "localhost:9000", # Komodo | |
09:58 | ); | |
09:58 | use Plack::Builder; | |
09:58 | use Plack::Request; | |
09:58 | $counter = 0; | |
09:58 | my $app = sub { | |
09:58 | my $env = shift; # PSGI env | |
09:58 | my $req = Plack::Request->new($env); | |
09:59 | my $path_info = $req->path_info; | |
09:59 | my $query = $req->parameters->{query}; | |
09:59 | my $x = $counter; | |
09:59 | if ($path_info eq "/") { | |
09:59 | $counter++; | |
09:59 | } | |
09:59 | return [ | |
09:59 | '200', | |
09:59 | [ 'Content-Type' => 'text/html' ], | |
09:59 | [ 'Hello World! x=' . $x ], | |
09:59 | ]; | |
09:59 | }; | |
09:59 | builder { | |
09:59 | enable "DBGp"; | |
09:59 | $app; | |
09:59 | }; | |
10:00 | Sorry, Pidgin created one entry in IRC per line in my pdigin window - how to do post code examples with (of course) multiple lines here? | |
10:27 | udkoha_ joined #koha | |
11:34 | koha-jenkins | Project Koha_Master_D12 build #92: SUCCESS in 44 min: https://jenkins.koha-community[…]ha_Master_D12/92/ |
11:55 | Project Koha_Master_U_Stable build #396: SUCCESS in 1 hr 4 min: https://jenkins.koha-community[…]ter_U_Stable/396/ | |
16:31 | cait joined #koha | |
16:33 | cait1 joined #koha | |
18:20 | tuxayo | @later udkoha to show code, you can use a paste service like https://privatebin.deblan.org/ |
18:20 | huginn | tuxayo: I've exhausted my database of quotes |
18:20 | tuxayo | @later tell udkoha to show code, you can use a paste service like https://privatebin.deblan.org/ |
18:20 | huginn | tuxayo: The operation succeeded. |
18:24 | udkoha joined #koha | |
22:30 | philor joined #koha |
← Previous day | Today | Next day → | Search | Index