Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
7f26f304
Unverified
Commit
7f26f304
authored
Oct 09, 2019
by
Robert Knight
Committed by
GitHub
Oct 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1410 from hypothesis/jenkins-chrome-debugging
Enable Chrome tracing during startup
parents
1edd43d9
bfc8d05c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
karma.config.js
src/karma.config.js
+10
-0
No files found.
src/karma.config.js
View file @
7f26f304
...
@@ -28,6 +28,16 @@ if (process.env.TRAVIS || process.env.RUNNING_IN_DOCKER) {
...
@@ -28,6 +28,16 @@ if (process.env.TRAVIS || process.env.RUNNING_IN_DOCKER) {
__dirname
+
'/../'
,
__dirname
+
'/../'
,
'chrome_debug.log'
'chrome_debug.log'
);
);
// Enable even more debug logging from Chrome to help track down build
// failures in Jenkins. This generates a large (~40MB+) JSON file detailing
// events that happen during browser startup.
//
// See https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/recording-tracing-runs#TOC-Capturing-chrome-desktop-startup
const
traceFile
=
path
.
resolve
(
__dirname
+
'/../'
,
'chrome_trace.json'
);
chromeFlags
.
push
(
'--trace-startup'
);
chromeFlags
.
push
(
'--trace-startup-duration=7'
);
chromeFlags
.
push
(
`--trace-startup-file=
${
traceFile
}
`
);
}
}
if
(
process
.
env
.
RUNNING_IN_DOCKER
)
{
if
(
process
.
env
.
RUNNING_IN_DOCKER
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment