Skip to content

Commit

Permalink
fix #1005
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Jun 13, 2017
1 parent 4ffd8c8 commit 2cf147c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/debugger/DebugClients/LocalDebugClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ export class LocalDebugClient extends DebugClient {
newEnvVars['PYTHONIOENCODING'] = 'UTF-8';
process.env['PYTHONIOENCODING'] = 'UTF-8';
}
if (!environmentVariables.hasOwnProperty('PYTHONUNBUFFERED')) {
environmentVariables['PYTHONUNBUFFERED'] = '1';
newEnvVars['PYTHONUNBUFFERED'] = '1';
process.env['PYTHONUNBUFFERED'] = '1';
}
let ptVSToolsFilePath = this.getPTVSToolsFilePath();
let launcherArgs = this.buildLauncherArguments();

Expand Down

0 comments on commit 2cf147c

Please sign in to comment.