{"action":"opened","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1503","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1503/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1503/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1503/events","html_url":"https://github.com/webdriverio/webdriverio/issues/1503","id":168542854,"number":1503,"title":"Step by step debugging of integration test","user":{"login":"casertap","id":284394,"avatar_url":"https://avatars.githubusercontent.com/u/284394?v=3","gravatar_id":"","url":"https://api.github.com/users/casertap","html_url":"https://github.com/casertap","followers_url":"https://api.github.com/users/casertap/followers","following_url":"https://api.github.com/users/casertap/following{/other_user}","gists_url":"https://api.github.com/users/casertap/gists{/gist_id}","starred_url":"https://api.github.com/users/casertap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casertap/subscriptions","organizations_url":"https://api.github.com/users/casertap/orgs","repos_url":"https://api.github.com/users/casertap/repos","events_url":"https://api.github.com/users/casertap/events{/privacy}","received_events_url":"https://api.github.com/users/casertap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-31T22:54:36Z","updated_at":"2016-07-31T22:54:36Z","closed_at":null,"body":"## The problem\r\n\r\nI have the following integration test:\r\n```\r\nimport expect from 'expect';\r\n\r\ndescribe('my awesome website', function() {\r\n  this.timeout(99999999);\r\n\r\n  it('should do some chai assertions', function() {\r\n    browser.url('http://localhost:3003');\r\n    browser.setValue('.navbar-form input', 'java');\r\n    const elements = browser.element('.search-results').debug();\r\n    console.log(elements);\r\n    console.log(browser.getValue('.navbar-form input'));\r\n    browser.debug();\r\n  });\r\n});\r\n```\r\nI would like to be able to run my mocha test in chrome browser and be able to run the test itself step by step using chrome debugger.\r\nIs this possible with wdio? How can I do that?\r\n\r\n## Environment\r\n\r\n* WebdriverIO version: Selenium 2.0, webdriverio@4.2.1\r\n* Node.js version: node v5.9.1, npm 3.7.3\r\nconfig:\r\n```\r\nrequire(\"babel-core/register\")({\r\n  presets: ['es2015']\r\n});\r\n\r\nexports.config = {\r\n    specs: [\r\n    ],\r\n  suites: {\r\n    search: [\r\n      './src/tests/integration/search/*.js',\r\n    ]\r\n  },\r\n    capabilities: [{\r\n      browserName: 'chrome',\r\n      loggingPrefs: {\r\n        'driver': 'INFO',\r\n        'browser': 'INFO'\r\n      }\r\n    }],\r\n    logLevel: 'verbose',\r\n    coloredLogs: true,\r\n    screenshotPath: './test/out/screens/',\r\n    baseUrl: 'http://localhost:8888',\r\n    waitforTimeout: 60000,\r\n    connectionRetryTimeout: 90000,\r\n    connectionRetryCount: 3,\r\n}\r\n```\r\nframework\r\n````\r\n\"wdio-mocha-framework\": \"^0.3.5\",\r\n```\r\n\r\n"}}
{"actor":{"display_login":"casertap"}}