Skip to content

Conversation

@mscharley
Copy link

This is my attempt at fixing #288

@codecov
Copy link

codecov bot commented Aug 1, 2018

Codecov Report

Merging #289 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
+ Coverage   69.35%   69.41%   +0.06%     
==========================================
  Files           5        5              
  Lines         992      994       +2     
  Branches      161      161              
==========================================
+ Hits          688      690       +2     
  Misses        304      304
Impacted Files Coverage Δ
src/phpDebug.ts 66.59% <100%> (+0.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9b193a...e60558b. Read the comment docs.

#### Supported launch.json settings:

- `request`: Always `"launch"`
- `bind`: The address to bind to when listening for XDebug (default: all IPv6 connections if available, else all IPv4 connections)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this name a bit confusing. The argument to server.listen() is named hostname. Could we name it that?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can, I kind of find hostname confusing too in this context - it sounds like the name of the host that XDebug is connecting from. I've seen it named bind in other applications so that's why I used that name here. I think hostname makes sense in the context of a call to server.listen() but in the context of a configuration for this module it's ambiguous.

"bind": {
"type": "string",
"description": "Address to bind to when listening for XDebug",
"default": "::"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would default to null if possible, but not familiar with VS Code plugins to know if that is or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants