Show xdebug.mode=coverage log for Xdebug 3.0

This commit is contained in:
Shivam Mathur 2020-07-08 08:01:26 +05:30
parent 1d50c4a8cd
commit f64dddeeb4
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 6 additions and 5 deletions

3
dist/index.js vendored
View File

@ -3007,8 +3007,7 @@ const config = __importStar(__webpack_require__(641));
async function addCoverageXdebug(extension, version, os_version, pipe) { async function addCoverageXdebug(extension, version, os_version, pipe) {
const xdebug = (await extensions.addExtension(extension, version, os_version, true)) + const xdebug = (await extensions.addExtension(extension, version, os_version, true)) +
pipe; pipe;
const ini = (await config.addINIValues('xdebug.mode=coverage', os_version, true)) + const ini = await config.addINIValues('xdebug.mode=coverage', os_version, true);
pipe;
const log = await utils.addLog('$tick', extension, 'Xdebug enabled as coverage driver', os_version); const log = await utils.addLog('$tick', extension, 'Xdebug enabled as coverage driver', os_version);
switch (true) { switch (true) {
case /^xdebug3$/.test(extension): case /^xdebug3$/.test(extension):

View File

@ -19,9 +19,11 @@ export async function addCoverageXdebug(
const xdebug = const xdebug =
(await extensions.addExtension(extension, version, os_version, true)) + (await extensions.addExtension(extension, version, os_version, true)) +
pipe; pipe;
const ini = const ini = await config.addINIValues(
(await config.addINIValues('xdebug.mode=coverage', os_version, true)) + 'xdebug.mode=coverage',
pipe; os_version,
true
);
const log = await utils.addLog( const log = await utils.addLog(
'$tick', '$tick',
extension, extension,