Use SceneViewColliders2DOverlay instead
Instantly renders Unity's 2D physics colliders and joints as wireframes for rapid prototyping.

Install UPM-Package by Git URL
- open window by click 'Window/Analysis/Physics 2D Debugger'
- ensure Gizmos is turn on
- The colors for the various types of colliders can be changed in the '2D Debugger' window
- line hard/soft
- line thickness
- hide by SceneView.DrawGizmos
- hide by EditorWindow.OnBecameVisible
- hide by Draw-flag
- hide by Collider.gameObject.activeInHierarcy
- Collider.enabled = false make Gizmo.Color half-visible
- converted to UPM-package
- MonoBehaviour converted to EditorWindow
- Gizmos.DrawLine() replaced with Handles.DrawLines()