We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce04ef5 commit 3e09806Copy full SHA for 3e09806
lib/pip.js
@@ -129,8 +129,11 @@ function installRequirements(
129
const slimCmd = getSlimPackageCommands(options, preparedPath);
130
cmdOptions.push(...slimCmd);
131
}
132
-
133
- const res = spawnSync(cmd, cmdOptions, { cwd: servicePath, shell: true });
+ let spawnArgs = { cwd: servicePath, shell: true };
+ if (process.env.SLS_DEBUG) {
134
+ spawnArgs.stdio = 'inherit';
135
+ }
136
+ const res = spawnSync(cmd, cmdOptions, spawnArgs);
137
if (res.error) {
138
if (res.error.code === 'ENOENT') {
139
if (options.dockerizePip) {
0 commit comments