Implements GenericDataExtractionProviderFactory. With this, the debug visualizer can be used with every language that can be debugged in VS Code.
This commit is contained in:
18
example-project/src/demo.php
Normal file
18
example-project/src/demo.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
for ($i = 0; $i < 100; $i++) {
|
||||
|
||||
// { kind: { graph: true }, nodes: [ { id: "1", label: "1" }, { id: "2", label: "2" } ], edges: [{ from: "1", to: "2", label: "edge" }]}
|
||||
$data = json_encode(array(
|
||||
"kind" => array("graph" => true),
|
||||
"nodes" => [
|
||||
array("id" => "1", "label" => "1"),
|
||||
array("id" => "2", "label" => "2"),
|
||||
],
|
||||
"edges" => [
|
||||
array("from" => "1", "to" => "2", "label" => "edge")
|
||||
]
|
||||
));
|
||||
|
||||
echo "test" . $i;
|
||||
}
|
||||
Reference in New Issue
Block a user