-
Notifications
You must be signed in to change notification settings - Fork 64
Troubleshooting
By default, the server deploys minified JavaScript code which makes debugging in Chrome Inspector or similar tools difficult. You can switch to the original source by adding &debug=1
to the URL.
You can make debug mode active by default by setting the PKE_DEBUG variable in the server environment:
appcfg.py update -E PKB_DEBUG=1 deploy
At this time, the debug switch only affects Angular code and other external modules, the PerfKitExplorer client code is always compiled with simple optimizations to enable transpiling of ES6 to ES5. Going forward, the intent is to be able to keep all code uncompiled in debug mode.
Ubuntu and Debian install node.js as /usr/bin/nodejs, while tools such as gulp typically expect it to be runnable as just node. Install the nodejs-legacy package to fix this:
$ sudo apt-get install nodejs-legacy
Click Edit Config in the ⛭ gear icon at the top right and set default project to the project id. For example, if you're currently viewing v11-dot-mydashboard.appspot.com, the project id would be mydashboard.