Skip to content

How to enable remote debugging #2639

Answered by smashah
F404X asked this question in Q&A
Apr 9, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@Foxythefox2020 use devtool config instead:

https://docs.openwa.dev/interfaces/api_model_config.ConfigObject.html#devtools

const options = {
    sessionId: 'session',
    executablePath: '/usr/bin/google-chrome-stable', // comente esta linha em caso de Windows
	multiDevice: true,
    headless: true,
    qrTimeout: 0,
    authTimeout: 0,
    restartOnCrash: start,
    cacheEnabled: true,
    useChrome: true,
    killProcessOnBrowserClose: true,
    throwErrorOnTosBlock: false,
	waitForRipeSession: true,
	devtools: true
};

#122 (comment)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@F404X
Comment options

@smashah
Comment options

@F404X
Comment options

Answer selected by smashah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2637 on April 09, 2022 22:07.