forked from lhall-amphibee/xdebug-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
61 lines (55 loc) · 2.3 KB
/
options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css" media="all">
<title>Xdebug-ext+ Options</title>
</head>
<body class="options">
<form>
<h1>Extension options</h1>
<p class="learn-more">
Learn how to setup your web server and use Xdebug: <a href="https://deliciousbrains.com/xdebug-advanced-php-debugging/">Learn more</a>.
</p>
<ul>
<li>
<h2>XDEBUG_TRIGGER Cookie</h2>
<p>Xdebug cookie to allow you debugging of your application at runtime. IDE key should match your server configuration.</p>
<div class="formItemContainer">
<label for="idekey">IDE Key:</label>
<div class="formItem">
<input type="text" id="idekey">
</div>
</div>
<div class="formItemContainer">
<label for="cookie_samesite">SameSite:</label>
<div class="formItem">
<select id="cookie_samesite">
<option>Strict</option>
<option>Lax</option>
<option>None</option>
</select>
<span class="help"><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#SameSite_attribute" target="_blank">?</a></span>
</div>
</div>
<div class="formItemContainer">
<label for="cookie_secure">Secure:</label>
<div class="formItem">
<select id="cookie_secure">
<option value="1">Yes</option>
<option value="0">No</option>
</select>
<span class="help"><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#Restrict_access_to_cookies" target="_blank">?</a></span>
</div>
</div>
<div class="samesiteSecureInfo u-isHidden" id="cookie_secure_hint">If SameSite attribute is set to None, Cookie Security must be set to Yes.</div>
</li>
</ul>
<div class="buttons">
<button type="submit">Save</button>
<span class="msg msg-ok u-isHidden" id="msg_settings_saved">Settings saved.</span>
</div>
</form>
<script src="options.js"></script>
</body>
</html>