Skip to content

Commit

Permalink
fix(buffer): Use hot output
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Henriksen committed Feb 12, 2018
1 parent 5b4f0e3 commit 8d251d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ export class perlDebuggerConnection {
// Depend on the data dumper for the watcher
// await this.streamCatcher.request('use Data::Dumper');
await this.streamCatcher.request('$DB::single = 1;');

// xxx: Prevent buffering issues ref: https://github.com/raix/vscode-perl-debug/issues/15#issuecomment-331435911
await this.streamCatcher.request('$| = 1;');

// if (options.port) {
// xxx: This will mix stderr and stdout into one dbout
// await this.streamCatcher.request('select($DB::OUT);');
Expand Down

0 comments on commit 8d251d6

Please sign in to comment.