miyagawa / Starman

Starman is a high-performance preforking Perl PSGI web server
http://search.cpan.org/dist/Starman
Other
287 stars 84 forks source link

Feature request: Ability to run Starman in non-forking mode #137

Closed Nowaker closed 4 years ago

Nowaker commented 4 years ago

It should be possible to use Starman in non-forking mode. It would listen on a given port and have only one worker and it wouldn't fork when spawning said worker. This would make remote debugging using perl -d and PERLDB_OPTS='RemotePort=somehost:9000' way easier. (Example: https://github.com/raix/vscode-perl-debug or other integrations).

Nowaker commented 4 years ago

Never mind. I figured all I have to do is to remove server => 'Starman' parameter before padding it to Plack::Runner.