Code profiling disabled in Komodo IDE 10.2

I just upgraded to Komodo IDE 10.2 and I’d like to try the code profiler, like explained in the blog.
Unfortunalely, when I open the “Debug” menu, everything is disabled (i.e. in grey), except for “Listen for Debuggin Connections” and “Listener Status”

Here is my log:

[2017-02-27 13:44:22,887] [INFO] Startup: Welcome to Komodo IDE 10.2.0 build 89833 (platform linux-x86_64, running on Linux 4.8.0-39-generic version #42~16.04.1-Ubuntu SMP Mon Feb 20 15:06:07 UTC 2017)
[2017-02-27 13:44:22,887] [INFO] Startup: /usr/bin/python built on Fri Feb 17 15:05:44 2017
[2017-02-27 13:44:22,981] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2017-02-27 13:44:23,199] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2017-02-27 13:44:23,258] [WARNING] root: ko.logging has been converted to a CommonJS module; use require(“ko/logging”) instead (since Komodo 9.0.0a1).
@chrome://komodo/content/komodo.js:15:1

[2017-02-27 13:44:23,730] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2017-02-27 13:44:23,958] [WARNING] keybindings: [Ctrl+0] was used for ‘cmd_goToQuickBookmark_0’, overriding to use ‘cmd_fontZoomReset’
[2017-02-27 13:44:24,174] [WARNING] ko.widgets: Could not restore widget unittest-widget
[2017-02-27 13:44:24,446] [INFO] koInitService: Adding pre startup service for ‘koFileStatusService’: ‘@activestate.com/koFileStatusService;1’
[2017-02-27 13:44:24,577] [INFO] komodospellchecker: Spell checker loaded.
[2017-02-27 13:44:24,577] [INFO] komodospellchecker: Using dictionary en-US
[2017-02-27 13:44:24,610] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2017-02-27 13:44:24,687] [ERROR] koScopeDocs-Py: Could not find cix for ext
[2017-02-27 13:44:24,693] [ERROR] koScopeDocs-Py: Could not find cix for html5
[2017-02-27 13:44:26,717] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///opt/komodoide10/lib/mozilla/components/koLessProtocolHandler.js:154
[2017-02-27 13:44:26,717] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///opt/komodoide10/lib/mozilla/components/koLessProtocolHandler.js:154
[2017-02-27 13:44:26,718] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in file:///opt/komodoide10/lib/mozilla/components/koLessProtocolHandler.js:154
[2017-02-27 13:44:27,182] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2017-02-27 13:44:27,182] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2017-02-27 13:44:27,183] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2017-02-27 13:44:27,680] [INFO] koInitService: Adding pre startup service for ‘KoMemoryReporter’: ‘@activestate.com/koMemoryReporter;1’
[2017-02-27 13:44:27,681] [INFO] koInitService: Adding pre startup service for ‘koCommandmentService’: ‘@activestate.com/koCommandmentService;1’
[2017-02-27 13:44:27,683] [INFO] koInitService: Adding pre startup service for ‘koDBGPManager’: ‘@activestate.com/koDBGPManager;1’
[2017-02-27 13:44:29,935] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///opt/komodoide10/lib/mozilla/components/koamAddonManager.js:138

Hi, what language are you trying to profile? Python? If not even the “Go/Continue” option is enabled, then you are either using a non-debuggable/profilable language, or you have not pointed Komodo to the path to that language’s executable/etc. in Edit > Preferences > Languages.

PHP.
In this moment I can’t get the “Debug Configuration” working. Previously, it was working sporadically.
I see that the check is performed by creating a temporary file with phpversion() inside: trying to do so manually (e.g. creating such file and executing php filename.php, using the same php path configured inside Komodo) is working.

Code profiling currently only half-works on PHP7, see this bug:

As a workaround you could trigger the profiling remotely.

The following instructions may be of help: http://docs.komodoide.com/Manual/debugphp

OK; I tried to use a custom php.ini file, with xdebug options mentioned in the above guide (using as xdebug.so path the Komodo one.) Now my debugging configuration is successfuly configured.
Anyway, the Debug menu is still grey.

Are you trying to profile local PHP code or remote PHP code? If remote, then try http://docs.komodoide.com/Manual/profiling#code-profiling-komodo-ide-only_starting-a-new-code-profiling-session_remote-code-profiling_php. If local, I assume the code to profile is open in Komodo?

It’s local.
Opening the file did the trick. Thank you!