Now the abs_to_rel module is enabled, links can be made relative so they work on the current environment.
100 lines
No EOL
4.9 KiB
JSON
100 lines
No EOL
4.9 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "6c69f289-ca43-4731-9729-0341250e0591"
|
|
}
|
|
],
|
|
"langcode": [
|
|
{
|
|
"value": "en"
|
|
}
|
|
],
|
|
"type": [
|
|
{
|
|
"target_id": "daily_email",
|
|
"target_type": "node_type",
|
|
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
|
}
|
|
],
|
|
"revision_timestamp": [
|
|
{
|
|
"value": "2025-05-11T09:00:14+00:00"
|
|
}
|
|
],
|
|
"revision_uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"revision_log": [],
|
|
"status": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"title": [
|
|
{
|
|
"value": "Stepping back into debugging"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2024-04-30T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-05-11T09:00:14+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2024\/04\/30\/stepping-back-into-debugging",
|
|
"langcode": "en"
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>In PHP, we have functions like <code>var_dump()<\/code>, <code>dump()<\/code> and <code>dd()<\/code> that are used to debug code and print output to the screen.<\/p>\n\n<p>In Drupal, we have functions like <code>dpm()<\/code> and <code>kint()<\/code>, too.<\/p>\n\n<p>These functions are great for simple debugging but sometimes I need more, which is when I reach for a step debugger - namely, Xdebug.<\/p>\n\n<p>This is common when working in complex legacy code, where you need to be able to see a breakpoint and step through the code to see what path it takes and what the state is at each step.<\/p>\n\n<h2 id=\"enter-xdebug\">Enter Xdebug<\/h2>\n\n<p>Xdebug is a tool I use fairly often and something I have configured on an individual project basis.<\/p>\n\n<p>This week, I spent some time adding it to a new project and ensured my notes and documentation still worked.<\/p>\n\n<p>I use Docker and Docker Compose on Linux, so there are slight changes compared to running PHP natively, so I wanted to make sure it still works.<\/p>\n\n<p>I've added my latest setup to my <a href=\"https:\/\/github.com\/opdavies\/docker-example-drupal\">Drupal Docker Example repository<\/a> and plan to add it to my standard <a href=\"/build-configs\">Build Configs<\/a> setup for Drupal projects.<\/p>\n\n<p>If you use Docker Compose on Linux, it may be useful for you.<\/p>\n\n<p>If you haven't tried Xdebug before, I suggest giving it a try and see if improves your debugging.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>In PHP, we have functions like <code>var_dump()<\/code>, <code>dump()<\/code> and <code>dd()<\/code> that are used to debug code and print output to the screen.<\/p>\n\n<p>In Drupal, we have functions like <code>dpm()<\/code> and <code>kint()<\/code>, too.<\/p>\n\n<p>These functions are great for simple debugging but sometimes I need more, which is when I reach for a step debugger - namely, Xdebug.<\/p>\n\n<p>This is common when working in complex legacy code, where you need to be able to see a breakpoint and step through the code to see what path it takes and what the state is at each step.<\/p>\n\n<h2 id=\"enter-xdebug\">Enter Xdebug<\/h2>\n\n<p>Xdebug is a tool I use fairly often and something I have configured on an individual project basis.<\/p>\n\n<p>This week, I spent some time adding it to a new project and ensured my notes and documentation still worked.<\/p>\n\n<p>I use Docker and Docker Compose on Linux, so there are slight changes compared to running PHP natively, so I wanted to make sure it still works.<\/p>\n\n<p>I've added my latest setup to my <a href=\"https:\/\/github.com\/opdavies\/docker-example-drupal\">Drupal Docker Example repository<\/a> and plan to add it to my standard <a href=\"/build-configs\">Build Configs<\/a> setup for Drupal projects.<\/p>\n\n<p>If you use Docker Compose on Linux, it may be useful for you.<\/p>\n\n<p>If you haven't tried Xdebug before, I suggest giving it a try and see if improves your debugging.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "1970-01-01T00:33:45+00:00",
|
|
"guid": null,
|
|
"hash": "685bea9e2790b5b0bd16d23d8c64a61a",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |