Is it possible to run chrome in debug mode?

First, I'm really not sure if this is a question for the superuser or overflow stack. This may be useful for other developers, but it is not a matter of specific code.

Is there a way in Google Chrome to look at exceptions in the handler or general debugging information? I have some code that I'm 99% sure crashing for rendering / redrawing for chrome, but (I'm on a mac) in Console.app. I do not receive exception notification. I am wondering if there is a way to make chrome be much more detailed in registering it? Perhaps this is a webkit thing, not chrome.

Let me know if this is really not for, and I will remove / close the question, as I said that I know that this is not code specific.

+5
source share
2 answers

I'm not quite sure if I understood this correctly, but maybe you want to check chromium.org HOW-TO for mac, not windows. you have two options for debugging the rendering process

a) Launch Chrome in one process or b) Attach the Xcode debugger to the rendering process after starting

They are described in detail here . Hope that helps

EDIT: updated link

+1
source

Yes!

You can run chrome from the command line on mac. See previous question here

something like that:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome

You can also pass a flag to output chrome to the log file by adding:

--enable-logging --v=1

This should write a log file chrome_debug.logthat is located somewhere in your directory ~/.config/.

. :

$ tail -F ~/.config/chromium/chrome_debug.log

.

, !

0

All Articles