gecko-dev/devtools/client/debugger/index.html

62 строки
1.7 KiB
HTML

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html dir="">
<head>
<link
rel="stylesheet"
type="text/css"
href="chrome://devtools/content/shared/sourceeditor/codemirror/lib/codemirror.css"
/>
<link
rel="stylesheet"
type="text/css"
href="chrome://devtools/content/shared/sourceeditor/codemirror/addon/dialog/dialog.css"
/>
<link
rel="stylesheet"
type="text/css"
href="chrome://devtools/content/shared/sourceeditor/codemirror/mozilla.css"
/>
<link
rel="stylesheet"
type="text/css"
href="resource://devtools/client/shared/components/reps/reps.css"
/>
<link
rel="stylesheet"
type="text/css"
href="resource://devtools/client/debugger/dist/vendors.css"
/>
<link
rel="stylesheet"
type="text/css"
href="resource://devtools/client/debugger/src/debugger.css"
/>
</head>
<body>
<div id="mount"></div>
<script
src="chrome://devtools/content/shared/theme-switching.js"
></script>
<script>
try {
const { BrowserLoader } = ChromeUtils.import(
"resource://devtools/client/shared/browser-loader.js"
);
const { require } = BrowserLoader({
baseURI: "resource://devtools/client/debugger",
window
});
Debugger = require("devtools/client/debugger/src/main");
} catch (e) {
dump("Exception happened while loading the debugger:\n");
dump(e + "\n");
dump(e.stack + "\n");
}
</script>
</body>
</html>