Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Churros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Lebeault
Churros
Commits
aef5dc42
Commit
aef5dc42
authored
1 year ago
by
Ewen Le Bihan
Browse files
Options
Downloads
Patches
Plain Diff
feat(debugging): sync debug mode state to sessionStorage instead of localStorage
parent
3bac5b7f
Branches
Branches containing commit
Tags
v1.23.9
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/app/src/lib/debugging.ts
+2
-2
2 additions, 2 deletions
packages/app/src/lib/debugging.ts
with
2 additions
and
2 deletions
packages/app/src/lib/debugging.ts
+
2
−
2
View file @
aef5dc42
import
{
browser
}
from
'
$app/environment
'
;
import
{
syncTo
Local
Storage
}
from
'
svelte-store2storage
'
;
import
{
syncTo
Session
Storage
}
from
'
svelte-store2storage
'
;
import
{
writable
}
from
'
svelte/store
'
;
export
const
debugging
=
writable
(
false
);
if
(
browser
)
syncTo
Local
Storage
(
debugging
,
'
debugging
'
);
if
(
browser
)
syncTo
Session
Storage
(
debugging
,
'
debugging
'
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment