MCPcopy
hub / github.com/pallets/werkzeug / createInteractiveConsole

Function createInteractiveConsole

src/werkzeug/debug/shared/debugger.js:254–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254function createInteractiveConsole() {
255 const target = document.querySelector("div.console div.inner");
256 while (target.firstChild) {
257 target.removeChild(target.firstChild);
258 }
259 openShell(null, target, 0);
260}
261
262function handleConsoleSubmit(e, command, frameID) {
263 // Prevent page from refreshing.

Callers 1

debugger.jsFile · 0.85

Calls 1

openShellFunction · 0.85

Tested by

no test coverage detected