… | |
… | |
2080 | If this env variable is set, then its contents will be interpreted by |
2080 | If this env variable is set, then its contents will be interpreted by |
2081 | C<AnyEvent::Socket::parse_hostport> (after replacing every occurance of |
2081 | C<AnyEvent::Socket::parse_hostport> (after replacing every occurance of |
2082 | C<$$> by the process pid) and an C<AnyEvent::Debug::shell> is bound on |
2082 | C<$$> by the process pid) and an C<AnyEvent::Debug::shell> is bound on |
2083 | that port. The shell object is saved in C<$AnyEvent::Debug::SHELL>. |
2083 | that port. The shell object is saved in C<$AnyEvent::Debug::SHELL>. |
2084 | |
2084 | |
2085 | This takes place when the first watcher is created. |
2085 | This happens when the first watcher is created. |
2086 | |
2086 | |
2087 | For example, to bind a debug shell on a unix domain socket in |
2087 | For example, to bind a debug shell on a unix domain socket in |
2088 | F<< /tmp/debug<pid>.sock >>, you could use this: |
2088 | F<< /tmp/debug<pid>.sock >>, you could use this: |
2089 | |
2089 | |
2090 | PERL_ANYEVENT_DEBUG_SHELL=/tmp/debug\$\$.sock perlprog |
2090 | PERL_ANYEVENT_DEBUG_SHELL=/tmp/debug\$\$.sock perlprog |