Why openConsole
and openDevtools
do not work?
#811
-
// web-ext.config.ts:
import { defineRunnerConfig } from "wxt";
export default defineRunnerConfig({
startUrls: ["https://info.cern.ch/"],
openConsole: true,
openDevtools: true
}); When I run
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I believe those options are only supported by firefox |
Beta Was this translation helpful? Give feedback.
-
https://wxt.dev/api/reference/wxt/interfaces/ExtensionRunnerConfig.html#chromiumargs chromiumArgs: [
--auto-open-devtools-for-tabs /* https://peter.sh/experiments/chromium-command-line-switches/#auto-open-devtools-for-tabs */
], If I am not wrong, you can achieve almost what you want by this argument in your WXT config. Just use this arg for Chromium + also use |
Beta Was this translation helpful? Give feedback.
I believe those options are only supported by firefox