Skip to content

Commit e5663a5

Browse files
Add debug logs for shell and exec for windows
1 parent d4fadf2 commit e5663a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.circleci/workflows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,7 @@ commands:
815815
816816
DEBUG=<<parameters.debug>> \
817817
CYPRESS_CONFIG_ENV=production \
818+
DEBUG=cypress:server:* \
818819
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
819820
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_WORKSPACE_ID \
820821
PERCY_ENABLE=${PERCY_TOKEN:-0} \

packages/server/lib/exec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const Promise = require('bluebird')
22
const execa = require('execa')
33
const shellEnv = require('shell-env')
44
const _ = require('lodash')
5-
const log = require('./log')
5+
const log = require('debug')('cypress:server:exec')
66
const utils = require('./util/shell')
77

88
const pickMainProps = (val) => _.pick(val, ['stdout', 'stderr', 'code'])

packages/server/lib/util/shell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const Promise = require('bluebird')
33
const execa = require('execa')
44
const os = require('os')
55
const commandExistsModule = require('command-exists')
6-
const log = require('../log')
6+
const log = require('debug')('cypress:server:util:shell')
77

88
const isWindows = () => {
99
return os.platform() === 'win32'

0 commit comments

Comments
 (0)