I am developing a Chrome extension which adds a SidebarPanel. I add it in devtools.js:
chrome.devtools.panels.elements.createSidebarPane(
"Guardian",
function (sidebar) {
sidebar.setPage('extension/sidebar.html')
});
sidebar.html includes the required JS - sidebar.js.
<html>
<head>
<script src="sidebar.js"></script>
</head>
...
<body style="min-height: 200px">
...
</html>
Problem: In the Devtools debug views I can't see the sidebar.js file anywhere - hence I can't debug it. Following the technique listed here I can bring up the background.js and devtools.js - No sidebar.js though.