Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: MZ Launching and debugging in Ubuntu/WebStorm
- Original author: birdbert
- Original date: September 5, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/launching-and-debugging-in-ubuntu-webstorm.140188/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript
Summary
It took me a while to get my head around running RMMZ in Ubuntu and debugging plugins. Perhaps because it isn't officially supported! Hopefully this will help anyone who tries something similar: Running RMMZ itself: Install PlayOnLinux In PlayOnLinux, hit the Install button and select the RMMZ installer
Archived First Post
It took me a while to get my head around running RMMZ in Ubuntu and debugging plugins. Perhaps because it isn't officially supported! Hopefully this will help anyone who tries something similar:
Running RMMZ itself:
To launch and debug we will first configure the WebStorm IDE:
References
Running RMMZ itself:
- Install PlayOnLinux
- In PlayOnLinux, hit the Install button and select the RMMZ installer
- Complete the wizard
- Create a shortcut
To launch and debug we will first configure the WebStorm IDE:
- Install WebStorm (you can get it from the Snap Store)
- Install NW.js (previously known as node-webkit):
- Download the 64-bit SDK from https://nwjs.io/downloads/
- Unzip it to ~/.local/nwjs-sdk-v0.55.0-linux-x64
- Created a symlink from /home/user/.local/bin to ~/.local/nwjs-sdk-v0.55.0-linux-x64/nw
- Open your RMMZ project folder in WebStorm
- Create an "NW.js" configuration as follows:
- NW.js app: project folder (it contains package.json)
- NW.js arguments: None
- Working directory: project folder
- Environment variables: None
- NW.js interpreter: ~/.local/bin/nw
- Also create an "Attach to Node.js/Chrome" configuration as follows:
- Host: localhost
- Port: 34313 (it doesn't actually matter)
- Attach to: "Chrome or Node.js... started with --inspect"
- Reconnect automatically: True
- Launch the NW.js configuration in Debug mode
- Wait for this message to appear in the console:
DevTools listening on ws://127.0.0.1:54321/devtools/browser/527f34ec-746d-4e3f-8f3e-6c2287d157d1
- Click on the ws:// link to start the "Attach" config
- You will be offered a dropdown of HTML files to attach to, pick "index.html"
- Go back to the NW.js tab
- Click "Reload in Browser"
References
- https://snapcraft.io/webstorm
- https://forums.rpgmakerweb.com/inde...ent-with-intellij-webstorm.55982/#post-549196
- https://www.jetbrains.com/help/webstorm/run-debug-configuration-node-webkit.html
- https://www.jetbrains.com/help/webstorm/run-debug-configuration-node-js-remote-debug.html
- https://wiki.playonlinux.com/index.php/First_Use
- https://forums.rpgmakerweb.com/index.php?threads/the-anatomy-of-a-plugin.75900/ (not directly used in this post, but very very helpful)
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...